(ci) change package url
This commit is contained in:
parent
4eec89c1ed
commit
626826ee2e
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue