Files
docker-phpbb/.woodpecker.yaml

39 lines
780 B
YAML

when:
branch: main
event: [push, pull_request]
variables:
- &file Dockerfile
- &repo source.hodakov.me/${CI_REPO_OWNER}/docker-phpbb
steps:
dryrun:
image: woodpeckerci/plugin-docker-buildx
settings:
privileged: true
dockerfile: *file
platforms: linux/arm64/v8,linux/amd64
dry_run: true
repo: *repo
tags: latest
when:
event: pull_request
path: *file
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
privileged: true
dockerfile: *file
platforms: linux/arm64/v8,linux/amd64
repo: *repo
registry: source.hodakov.me
tags: latest
username: ${CI_REPO_OWNER}
password:
from_secret: ci_token
when:
event: push
path: *file