update ci config

This commit is contained in:
2022-08-05 23:04:08 +08:00
parent ee8e19343b
commit 8eb4f3b596

View File

@@ -15,10 +15,13 @@ stages:
bin_build:
stage: 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}"
tags:
- cluster
artifacts:
paths:
- console-${PACKAGE_VERSION}