add woodpecker config
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
4971944761
commit
c2698fc17e
|
@ -0,0 +1,25 @@
|
|||
pipeline:
|
||||
login:
|
||||
image: gitea.treehouse.systems/ariadne/woodpecker-crane-login
|
||||
settings:
|
||||
registry: gitea.treehouse.systems
|
||||
username: ariadne
|
||||
password:
|
||||
from_secret: REGISTRY_TOKEN
|
||||
secrets: [REGISTRY_TOKEN]
|
||||
|
||||
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
|
||||
- KO_DOCKER_REPO="gitea.treehouse.systems/ariadne/woodpecker-crane-login" \
|
||||
/ko-app/ko publish --bare -t ${CI_COMMIT_TAG#v} -t latest
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
Loading…
Reference in New Issue