Skip to content
This repository has been archived by the owner on Sep 19, 2022. It is now read-only.

Commit

Permalink
fix: ci push helm
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtim committed Apr 16, 2022
1 parent 150ac84 commit f0cd860
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ release-helm:
before_script:
- 'helm repo add --username gitlab-ci-token --password ${CI_JOB_TOKEN} ${CI_PROJECT_NAME} ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable'
script:
- 'helm plugin install https://github.com/chartmuseum/helm-push.git'
- helm plugin install https://github.com/chartmuseum/helm-push.git
- "sed -i \"s/version:.*/version: ${CI_COMMIT_TAG}/\" helm/Chart.yaml"
- helm package helm
- 'helm push ./cjtim-backend-go-${CI_COMMIT_TAG}.tgz ${CI_PROJECT_NAME}'
- helm cm-push ./cjtim-backend-go-${CI_COMMIT_TAG}.tgz ${CI_PROJECT_NAME}
needs: []

release:
Expand Down

0 comments on commit f0cd860

Please sign in to comment.