ci: push to oci registry
This commit is contained in:
parent
01d381a5cd
commit
9471ca77f8
1 changed files with 12 additions and 8 deletions
|
@ -18,11 +18,15 @@ pipeline:
|
||||||
- helm dependency update
|
- helm dependency update
|
||||||
- rm -rf tmp/
|
- rm -rf tmp/
|
||||||
- helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./
|
- helm package --version "${CI_COMMIT_TAG##v}" -d tmp/ ./
|
||||||
- git fetch origin
|
- echo $${TOKEN} | helm registy login https://codeberg.org/api/packages/forgejo-contrib/helm/api/charts
|
||||||
- git checkout pages
|
- helm push tmp/forgejo-${CI_COMMIT_TAG##v}.tgz oci://codeberg.org/api/packages/forgejo-contrib/helm/api/charts
|
||||||
- helm repo index tmp/ --merge index.yaml
|
# - git fetch origin
|
||||||
- mv -f tmp/* .
|
# - git checkout pages
|
||||||
- git config user.email "release@forgejo.org" ; git config user.name "Release Team"
|
# - helm repo index tmp/ --merge index.yaml
|
||||||
- git add .
|
# - mv -f tmp/* .
|
||||||
- git commit -m "update charts to ${CI_COMMIT_TAG}" -a
|
# - git config user.email "release@forgejo.org" ; git config user.name "Release Team"
|
||||||
- git push origin pages
|
# - git add .
|
||||||
|
# - git commit -m "update charts to ${CI_COMMIT_TAG}" -a
|
||||||
|
# - git push origin pages
|
||||||
|
secrets:
|
||||||
|
- token
|
||||||
|
|
Loading…
Reference in a new issue