From c311f81ca43c63b9a93375c7fcafdbc574522761 Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Wed, 8 Jun 2022 18:07:44 +0200 Subject: [PATCH] (ci) it will work --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae9196f..4082111 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: