Skip to content
Snippets Groups Projects
Commit 06d0ab94 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

WIP CI

parent c3c96bc4
No related branches found
No related tags found
No related merge requests found
Pipeline #32712 failed
...@@ -7,6 +7,10 @@ stages: ...@@ -7,6 +7,10 @@ stages:
- upload - upload
- release - release
variables:
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages"
# build gcli binary # build gcli binary
build: build:
stage: build stage: build
...@@ -38,7 +42,7 @@ upload: ...@@ -38,7 +42,7 @@ upload:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
script: script:
- | - |
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file target/release/gcli "${PACKAGE_REGISTRY_URL}/gcli" curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file target/release/gcli "${PACKAGE_REGISTRY_URL}/gcli-${CI_COMMIT_TAG}"
# create a gitlab release pointing to this binary # create a gitlab release pointing to this binary
release: release:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment