fix: add curl

This commit is contained in:
Georg K
2023-01-06 05:50:20 +03:00
parent 8e4e96a80a
commit aa3edd84d5

View File

@@ -21,6 +21,7 @@ release-hosted:
variables: variables:
VERSION: "1.0.0" VERSION: "1.0.0"
script: script:
- apk add --no-cache curl
- tar -czvf hosted.tar.gz hosted - tar -czvf hosted.tar.gz hosted
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file hosted.tar.gz "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/hosted/${VERSION}/hosted.tar.gz"' - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file hosted.tar.gz "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/hosted/${VERSION}/hosted.tar.gz"'
when: manual when: manual