(ci) it will work

This commit is contained in:
Hugo Renard 2022-06-08 18:07:44 +02:00
parent 60b00627ab
commit c311f81ca4
Signed by: hougo
GPG key ID: 3A285FD470209C59

View file

@ -1,3 +1,8 @@
variables:
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/scim"
EXTRA_DESCRIPTION: ""
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
stages:
- package
- upload
@ -21,8 +26,6 @@ upload:
image: curlimages/curl
rules:
- if: $CI_COMMIT_TAG
variables:
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
script:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${PACKAGE_REGISTRY_URL}/${SCIM_FILE}"'
needs:
@ -34,9 +37,6 @@ release_job:
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
variables:
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
EXTRA_DESCRIPTION: ""
script:
- echo "running release_job"
release: