Update .gitlab-ci.yml file
This commit is contained in:
@@ -20,6 +20,8 @@ job_build:
|
||||
image: golang:latest
|
||||
script:
|
||||
- go build -o console-${PACKAGE_VERSION} console.go
|
||||
- |
|
||||
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${LINUX_AMD64_BINARY} "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||
artifacts:
|
||||
paths:
|
||||
- bin
|
||||
@@ -30,8 +32,7 @@ upload:
|
||||
script:
|
||||
- ls .
|
||||
- ls bin
|
||||
- |
|
||||
curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file ${LINUX_AMD64_BINARY} "${PACKAGE_REGISTRY_URL}/${LINUX_AMD64_BINARY}"
|
||||
|
||||
|
||||
release:
|
||||
# Caution, as of 2021-02-02 these assets links require a login, see:
|
||||
|
||||
Reference in New Issue
Block a user