Files
wordyne/.gitlab-ci.yml

26 lines
562 B
YAML

variables:
HELM_CHART_VERSION: "99.6.23"
stages:
- deploy
default:
image:
name: cloudyne/kubectl-helm:latest
entrypoint: [""]
tags:
- build01
- helm
- chartbuild
deploy:
stage: deploy
script:
- 'sed -i "s/version:.*/version: \"${HELM_CHART_VERSION}\"/" ./Chart/Chart.yaml'
- helm package ./Chart
- |
curl --request POST \
--user gitlab-ci-token:$CI_JOB_TOKEN \
--form "chart=@wordyne-${HELM_CHART_VERSION}.tgz" \
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"