woodpecker: fix publish
parent
f9b8e2c18f
commit
92f965ab03
|
@ -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*
|
||||
|
|
Loading…
Reference in New Issue