Revert syntax; add missing environment vars
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
4023baad33
commit
f3bc4f2384
@ -15,8 +15,10 @@ steps:
|
|||||||
image: bv11-cr01.bessems.eu/proxy/alpine/git
|
image: bv11-cr01.bessems.eu/proxy/alpine/git
|
||||||
commands:
|
commands:
|
||||||
- git clone https://github.com/containers/skopeo.git .
|
- git clone https://github.com/containers/skopeo.git .
|
||||||
- git checkout tags/$${SKOPEO_VERSION}
|
- git checkout tags/$SKOPEO_VERSION
|
||||||
# - git checkout tags/v1.9.1
|
# - git checkout tags/v1.9.1
|
||||||
|
environment:
|
||||||
|
SKOPEO_VERSION: v1.9.1
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
image: bv11-cr01.bessems.eu/proxy/library/golang
|
image: bv11-cr01.bessems.eu/proxy/library/golang
|
||||||
commands:
|
commands:
|
||||||
@ -28,9 +30,9 @@ steps:
|
|||||||
- bin/skopeo --version
|
- bin/skopeo --version
|
||||||
- |
|
- |
|
||||||
curl \
|
curl \
|
||||||
--header "Authorization: token $${GIT_APIKEY}"
|
--header "Authorization: token $GIT_APIKEY"
|
||||||
--upload-file bin/skopeo \
|
--upload-file bin/skopeo \
|
||||||
https://code.spamasaurus.com/api/packages/$${GIT_USERNAME}/generic/skopeo/$${SKOPEO_VERSION}/skopeo
|
https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION/skopeo
|
||||||
# - cp bin/skopeo /output
|
# - cp bin/skopeo /output
|
||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user