Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 27280e8d45 | |||
| 8c5e12960d | |||
| 849dc9b0ee |
@@ -22,6 +22,8 @@ build-docker:
|
|||||||
|
|
||||||
build-binary:
|
build-binary:
|
||||||
stage: build-binary
|
stage: build-binary
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
image: golang:1.17.3
|
image: golang:1.17.3
|
||||||
before_script:
|
before_script:
|
||||||
- cd $GOPATH/src
|
- cd $GOPATH/src
|
||||||
@@ -41,6 +43,9 @@ upload:
|
|||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
before_script:
|
||||||
|
- ls
|
||||||
|
- pwd
|
||||||
script:
|
script:
|
||||||
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file iPilot-${CI_COMMIT_TAG}-darwin-amd64 "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/iPilot/${CI_COMMIT_TAG}/iPilot-${CI_COMMIT_TAG}-darwin-amd64"'
|
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file iPilot-${CI_COMMIT_TAG}-darwin-amd64 "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/iPilot/${CI_COMMIT_TAG}/iPilot-${CI_COMMIT_TAG}-darwin-amd64"'
|
||||||
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file iPilot-${CI_COMMIT_TAG}-darwin-arm64 "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/iPilot/${CI_COMMIT_TAG}/iPilot-${CI_COMMIT_TAG}-darwin-arm64"'
|
- 'curl --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file iPilot-${CI_COMMIT_TAG}-darwin-arm64 "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/iPilot/${CI_COMMIT_TAG}/iPilot-${CI_COMMIT_TAG}-darwin-arm64"'
|
||||||
|
|||||||
Reference in New Issue
Block a user