ci: fix publish
This commit is contained in:
parent
0cc9088ce2
commit
c7d81831a8
1 changed files with 6 additions and 3 deletions
|
@ -4,6 +4,8 @@ depends_on:
|
|||
- lint
|
||||
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
tag: v*
|
||||
|
||||
pipeline:
|
||||
|
@ -12,7 +14,7 @@ pipeline:
|
|||
pull: true
|
||||
commands:
|
||||
- apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing helm
|
||||
- apk add --no-cache curl
|
||||
- apk add --no-cache git
|
||||
- helm dependency update
|
||||
- rm -rf tmp/
|
||||
- helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./
|
||||
|
@ -20,6 +22,7 @@ pipeline:
|
|||
- git checkout pages
|
||||
- helm repo index tmp/ --merge index.yaml
|
||||
- mv -f tmp/* .
|
||||
- git add -A
|
||||
- 'git commit -m "chore: update charts to ${CI_COMMIT_TAG}"'
|
||||
- git config user.email "release@forgejo.org" ; git config user.name "Release Team"
|
||||
- git add .
|
||||
- git commit -m "update charts to ${CI_COMMIT_TAG}" -a
|
||||
- git push origin pages
|
||||
|
|
Loading…
Reference in a new issue