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

This commit is contained in:
Danny Bessems 2022-11-14 12:20:42 +01:00
parent 36c4cccf3e
commit 55cb469667
1 changed files with 7 additions and 2 deletions

View File

@ -13,7 +13,8 @@ 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 tags/$SKOPEO_VERSION
- git checkout HEAD
when:
status:
- success
@ -30,7 +31,11 @@ steps:
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/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
environment:
CGO_ENABLED: 0
GIT_APIKEY: