(ci) it will work
This commit is contained in:
parent
60b00627ab
commit
c311f81ca4
1 changed files with 5 additions and 5 deletions
|
@ -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:
|
stages:
|
||||||
- package
|
- package
|
||||||
- upload
|
- upload
|
||||||
|
@ -21,8 +26,6 @@ upload:
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
variables:
|
|
||||||
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
|
|
||||||
script:
|
script:
|
||||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${PACKAGE_REGISTRY_URL}/${SCIM_FILE}"'
|
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${PACKAGE_REGISTRY_URL}/${SCIM_FILE}"'
|
||||||
needs:
|
needs:
|
||||||
|
@ -34,9 +37,6 @@ release_job:
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
variables:
|
|
||||||
SCIM_FILE: scim_${CI_COMMIT_TAG}.zip
|
|
||||||
EXTRA_DESCRIPTION: ""
|
|
||||||
script:
|
script:
|
||||||
- echo "running release_job"
|
- echo "running release_job"
|
||||||
release:
|
release:
|
||||||
|
|
Reference in a new issue