(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"
|
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/scim"
|
||||||
EXTRA_DESCRIPTION: ""
|
EXTRA_DESCRIPTION: ""
|
||||||
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
|
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
|
||||||
|
SCIM_PACKAGE: ${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/scim.zip
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- package
|
- package
|
||||||
|
@ -27,7 +28,7 @@ upload:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
script:
|
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:
|
needs:
|
||||||
- job: package
|
- job: package
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
@ -47,6 +48,6 @@ release_job:
|
||||||
assets:
|
assets:
|
||||||
links:
|
links:
|
||||||
- name: "scim"
|
- name: "scim"
|
||||||
url: "${PACKAGE_REGISTRY_URL}/${SCIM_FILE}"
|
url: "${SCIM_PACKAGE}"
|
||||||
filepath: "/scim"
|
filepath: "/scim"
|
||||||
link_type: "package"
|
link_type: "package"
|
||||||
|
|
Reference in a new issue