Commit e581991a authored by torgiren's avatar torgiren
Browse files

fix gitlab-ci

2 merge requests!3Devel,!2fix gitlab-ci
Pipeline #33 passed with stage
in 22 seconds
Showing with 4 additions and 4 deletions
+4 -4
......@@ -19,13 +19,13 @@ build:
- export
artifacts:
paths:
- "exphost-$CI_BUILD_TAG.tgz"
- "exphost-*.tgz"
upload:
stage: upload
image: curlimages/curl:latest
script:
- 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@exphost-0.0.1.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
only:
- master
- 'curl --request POST --user gitlab-ci-token:$CI_JOB_TOKEN --form "chart=@exphost-*.tgz" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/helm/api/stable/charts"'
rules:
- if: $CI_COMMIT_TAG && $CI_COMMIT_BRANCH == "master"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment