(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:
|
||||
- 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:
|
||||
|
|
Reference in a new issue