Build latest release
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Danny Bessems 2023-02-06 14:39:34 +01:00
parent 55cb469667
commit 0a37bc7840
1 changed files with 3 additions and 8 deletions

View File

@ -3,7 +3,7 @@ type: kubernetes
name: 'Golang Build' name: 'Golang Build'
environment: environment:
SKOPEO_VERSION: v1.10.0 SKOPEO_VERSION: v1.11.0
clone: clone:
disable: true disable: true
@ -13,8 +13,7 @@ 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 HEAD
when: when:
status: status:
- success - success
@ -31,11 +30,7 @@ steps:
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/v1.11.0-dev/skopeo https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION/skopeo
# curl \
# --header "Authorization: token $GIT_APIKEY" \
# --upload-file bin/skopeo \
# https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION/skopeo
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
GIT_APIKEY: GIT_APIKEY: