Skip to content
Snippets Groups Projects
Commit 4fd1b672157e authored by Florent Aide's avatar Florent Aide
Browse files

CI: adding an artifact upload

parent 3a41220184cc
No related branches found
No related tags found
No related merge requests found
Pipeline #36335 passed
......@@ -3,6 +3,7 @@
- test
- lint
- build
- upload
unit_tests:
stage: test
......@@ -44,5 +45,6 @@
- .gopath/golangci-cache
- .cache/gocache
- tools/bin
- build
script:
- tools/bin/task build
......@@ -47,2 +49,13 @@
script:
- tools/bin/task build
upload:
image: quay.orus.io/docker_mirror/alpine:3.10
stage: upload
cache:
key: tooling
paths:
- build
script:
- apk add curl
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/beaver "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/beaver/latest/beaver"'
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