vieter/.woodpecker/.publish.yml

30 lines
521 B
YAML

pipeline:
dev:
image: plugins/docker
secrets: [ docker_username, docker_password ]
settings:
repo: chewingbever/vieter
tag: dev
when:
event: push
branch: dev
release:
image: plugins/docker
secrets: [ docker_username, docker_password ]
settings:
repo: chewingbever/vieter
tag:
- latest
- $CI_COMMIT_TAG
build_args: --network=host
when:
event: tag
branch: main
branches: [main, dev]
depends_on:
- lint
- build