Testing binary deploy

This commit is contained in:
Joe Bellus 2022-02-09 19:25:16 -05:00
parent 48e4d34862
commit 07e82cfdd0
1 changed files with 3 additions and 3 deletions

View File

@ -72,8 +72,8 @@ deploy-binaries:
- build-bin
image: curlimages/curl:latest
stage: deploy
rules:
- if: $CI_COMMIT_TAG
# rules:
# - if: $CI_COMMIT_TAG
script:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file vade-linux-x64.tar.gz "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/bin/$CI_COMMIT_TAG/vade-linux-x64-$CI_COMMIT_TAG.tar.gz"'
@ -92,5 +92,5 @@ release:
ref: '$CI_COMMIT_TAG'
assets:
links:
- name: 'vade-linux--x64-$CI_COMMIT_TAG.tar.gz'
- name: 'vade-linux-x64-$CI_COMMIT_TAG.tar.gz'
url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/linux-bin/$CI_COMMIT_TAG/vade-linux-x64-$CI_COMMIT_TAG.tar.gz'