Update file .gitlab-ci.yml
This commit is contained in:
@@ -3,15 +3,11 @@ include:
|
|||||||
ref: main
|
ref: main
|
||||||
file: 'pipelines/build-container.yml'
|
file: 'pipelines/build-container.yml'
|
||||||
|
|
||||||
default:
|
|
||||||
image: dtzar/helm-kubectl
|
|
||||||
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'
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
upload:
|
upload:
|
||||||
stage: upload
|
image: dtzar/helm-kubectl
|
||||||
|
stage: build
|
||||||
script:
|
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'
|
||||||
- helm package ./charts/durpapi
|
- helm package ./charts/durpapi
|
||||||
- 'helm plugin install https://github.com/chartmuseum/helm-push.git'
|
- 'helm plugin install https://github.com/chartmuseum/helm-push.git'
|
||||||
- 'helm push ./durpapi-0.1.0.tgz ${CI_PROJECT_NAME}'
|
- 'helm push ./durpapi-0.1.0.tgz ${CI_PROJECT_NAME}'
|
||||||
|
|||||||
Reference in New Issue
Block a user