hugo-relie/.woodpecker/test.yml

32 lines
622 B
YAML
Raw Normal View History

2024-05-26 18:14:50 +00:00
steps:
- name: docker-build-only
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
repo: git.faercol.me/faercol/hugo-relie
tags: latest
dry_run: true
platforms:
- linux/amd64
when:
branch:
exclude:
- main
- name: docker-build-push
image: woodpeckerci/plugin-docker-buildx
privileged: true
settings:
repo: git.faercol.me/faercol/hugo-relie
registry: git.faercol.me
tags: latest
username:
from_secret: GIT_USERNAME
password:
from_secret: GIT_PASSWORD
platforms:
- linux/amd64
when:
branch:
- main