Update file .gitlab-ci.yml

This commit is contained in:
2023-04-09 18:57:14 +00:00
parent d2fb2164e7
commit cf5f67232f

View File

@@ -7,7 +7,7 @@ upload:
image: dtzar/helm-kubectl
stage: build
script:
- 'helm repo add --username gitlab-ci-token --password ${CI_JOB_TOKEN} ${CI_PROJECT_NAME} "${CI_SERVER_URL}/api/v4/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
- 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
- helm package ./charts/durpapi
- 'helm plugin install https://github.com/chartmuseum/helm-push.git'
- 'helm push ./durpapi-0.1.0.tgz ${CI_PROJECT_NAME}'