woodpecker: fix publish
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

main v0.6
Ariadne Conill 2022-08-04 17:35:19 -05:00
parent f9b8e2c18f
commit 92f965ab03
1 changed files with 5 additions and 4 deletions

View File

@ -18,10 +18,11 @@ pipeline:
publish:
image: alpine
commands:
- echo 'http://mirror.fcix.net/alpine/edge/testing' >> /etc/apk/repositories
- apk add ko
- KO_DOCKER_REPO="gitea.treehouse.systems/ariadne/woodpecker-crane-login" \
/ko-app/ko publish --bare -t ${CI_COMMIT_TAG#v} -t latest
- |
echo 'http://mirror.fcix.net/alpine/edge/testing' >> /etc/apk/repositories
apk add go ko
export KO_DOCKER_REPO="gitea.treehouse.systems/ariadne/woodpecker-crane-login"
/usr/bin/ko publish --bare -t ${CI_COMMIT_TAG#v} -t latest $KO_DOCKER_REPO
when:
event: tag
tag: v*