pipeline: login: image: gitea.treehouse.systems/ariadne/woodpecker-crane-login settings: registry: gitea.treehouse.systems username: ariadne password: from_secret: registry_token when: event: tag tag: v* build: image: golang:1.19-alpine commands: - go build publish: image: alpine commands: - | echo 'http://mirror.fcix.net/alpine/edge/testing' >> /etc/apk/repositories apk add ko env KO_DOCKER_REPO="gitea.treehouse.systems/ariadne/woodpecker-crane-login" \ /usr/bin/ko publish --bare -t ${CI_COMMIT_TAG#v} -t latest when: event: tag tag: v*