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