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

Ariadne Conill 2022-08-04 17:35:19 -05:00
parent f9b8e2c18f
commit 2ba66c6fd9
1 changed files with 5 additions and 4 deletions

View File

@ -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*