diff --git a/.drone.yml b/.drone.yml index 9eadd9d..25c6637 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: