woodpecker: use DOCKER_CONFIG env var
parent
a7bece12da
commit
8e82145660
|
@ -19,6 +19,7 @@ pipeline:
|
||||||
image: distroless.dev/ko:latest
|
image: distroless.dev/ko:latest
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
|
export DOCKER_CONFIG=${CI_WORKSPACE}/.docker.json
|
||||||
export HOME=/home/nonroot
|
export HOME=/home/nonroot
|
||||||
export KO_DOCKER_REPO="gitea.treehouse.systems/ariadne/woodpecker-crane-login"
|
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
|
/usr/bin/ko publish --bare -t ${CI_COMMIT_TAG#v} -t latest $KO_DOCKER_REPO
|
||||||
|
|
Loading…
Reference in New Issue