gothub/.woodpecker.yml
Midou36O 1acf2e4353
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fuck wrong thing
2022-11-30 12:18:06 +01:00

37 lines
956 B
YAML

pipeline:
build:
when:
event: [push, pull_request, tag]
image: golang:1.19.3-alpine
commands:
- go mod download
- go build .
dockerize:
when:
branch: [main, master]
event: [push]
image: plugins/docker
settings:
registry: codeberg.org
repo: codeberg.org/odyssium/gothub
username:
from_secret: user
password:
from_secret: passwd
# password = key or actual password
tags: latest
dockerize-dev:
when:
event: [push]
branch: [dev]
image: plugins/docker
settings:
registry: codeberg.org
repo: codeberg.org/odyssium/gothub
username:
from_secret: user
password:
from_secret: passwd
# password = key or actual password
tags: dev