Select Git revision
pipeline.yml
-
Janne Mareike Koschinski authoredJanne Mareike Koschinski authored
pipeline.yml 554 B
lint-imghost:
stage: lint
rules:
- changes:
- imghost/**/*
script:
- helm lint imghost
release-imghost:
stage: release
needs:
- lint-imghost
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- imghost/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
- helm repo add --username gitlab-ci-token --password $CI_JOB_TOKEN repo ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/stable
- helm cm-push imghost repo