woodpecker: use DOCKER_CONFIG env var
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

Ariadne Conill 2022-08-04 18:01:45 -05:00
parent a7bece12da
commit c540dc6e80
1 changed files with 2 additions and 1 deletions

View File

@ -19,9 +19,10 @@ pipeline:
image: distroless.dev/ko:latest
commands:
- |
export HOME=/home/nonroot
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
environment:
- DOCKER_CONFIG=${CI_WORKSPACE}/.docker.json
when:
event: tag
tag: v*