diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4d8c68..2888c71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ variables: PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/scim" EXTRA_DESCRIPTION: "" SCIM_FILE: scim_${CI_COMMIT_TAG}.zip + SCIM_PACKAGE: ${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/scim.zip stages: - package @@ -27,7 +28,7 @@ upload: rules: - if: $CI_COMMIT_TAG script: - - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/scim.zip"' + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${SCIM_PACKAGE}"' needs: - job: package artifacts: true @@ -47,6 +48,6 @@ release_job: assets: links: - name: "scim" - url: "${PACKAGE_REGISTRY_URL}/${SCIM_FILE}" + url: "${SCIM_PACKAGE}" filepath: "/scim" link_type: "package"