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'
environment:
SKOPEO_VERSION: v1.10.0
SKOPEO_VERSION: v1.11.0
clone:
disable: true
@ -13,8 +13,7 @@ steps:
image: bv11-cr01.bessems.eu/proxy/alpine/git
commands:
- git clone https://github.com/containers/skopeo.git .
# - git checkout tags/$SKOPEO_VERSION
- git checkout HEAD
- git checkout tags/$SKOPEO_VERSION
when:
status:
- success
@ -31,11 +30,7 @@ steps:
curl \
--header "Authorization: token $GIT_APIKEY" \
--upload-file bin/skopeo \
https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/skopeo/v1.11.0-dev/skopeo
# curl \
# --header "Authorization: token $GIT_APIKEY" \
# --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
environment:
CGO_ENABLED: 0
GIT_APIKEY: