woodpecker: fix publish
parent
f9b8e2c18f
commit
2ba66c6fd9
|
@ -18,10 +18,11 @@ pipeline:
|
||||||
publish:
|
publish:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo 'http://mirror.fcix.net/alpine/edge/testing' >> /etc/apk/repositories
|
- |
|
||||||
- apk add ko
|
echo 'http://mirror.fcix.net/alpine/edge/testing' >> /etc/apk/repositories
|
||||||
- KO_DOCKER_REPO="gitea.treehouse.systems/ariadne/woodpecker-crane-login" \
|
apk add ko
|
||||||
/ko-app/ko publish --bare -t ${CI_COMMIT_TAG#v} -t latest
|
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:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: v*
|
tag: v*
|
||||||
|
|
Loading…
Reference in New Issue