Update file .gitlab-ci.yml

This commit is contained in:
2023-04-09 18:51:31 +00:00
parent c28c5e1ec1
commit 58634756d3

View File

@@ -1,4 +1,17 @@
include: include:
- project: 'developerdurp/yml' - project: 'developerdurp/yml'
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:
stage: upload
script:
- helm package ./charts/durpapi
- 'helm plugin install https://github.com/chartmuseum/helm-push.git'
- 'helm push ./durpapi-0.1.0.tgz ${CI_PROJECT_NAME}'