try it this way
This commit is contained in:
parent
3c022d510f
commit
a3fb69bfdf
@ -1,4 +1,7 @@
|
|||||||
image: golang:latest
|
image: golang:latest
|
||||||
|
variables:
|
||||||
|
TOKEN_HEADER: "PRIVATE-TOKEN: $CI_BUILD_TOKEN"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
@ -9,7 +12,7 @@ build:
|
|||||||
release:
|
release:
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- "curl -H 'PRIVATE-TOKEN: $CI_BUILD_TOKEN' 'https://$CI_API_V4_URL/$CI_PROJECT_ID/releases'"
|
- curl -H "$TOKEN_HEADER" "https://$CI_API_V4_URL/$CI_PROJECT_ID/releases"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/*.tar.gz
|
- dist/*.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user