Skip to content
Snippets Groups Projects
Commit 96094d9f authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

no auto tag

parent df1798d2
Branches
No related tags found
No related merge requests found
Pipeline #133001 failed
......@@ -100,7 +100,6 @@ upload:
image: harbor.pasteur.fr/kube-system/helm-kubectl:3.12.0
script:
- CHART_VERSION=$(helm show chart shiny-k8s-toolkit-helm | grep version | cut -d' ' -f2)
- echo "CHART_VERSION=${CHART_VERSION}" > tag.env
- CHART_NAME=$(helm show chart shiny-k8s-toolkit-helm | grep name | cut -d' ' -f2)
- |
if [ "helm" == "${CI_COMMIT_REF_SLUG}" ]; then
......@@ -120,23 +119,6 @@ upload:
echo "Version not already published, continuing publication process"
fi
- curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@${CHART_NAME}-${CHART_VERSION}.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/${CHANNEL}/charts"
artifacts:
reports:
dotenv: tag.env
add_tag:
only:
- helm
needs: [upload]
stage: deploy
image: registry.gitlab.com/gitlab-org/release-cli:latest
script:
- echo "Creating the release."
release:
tag_name: "v$CHART_VERSION"
name: 'Release v$CHART_VERSION'
description: ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment