docker-phpbb/.woodpecker/docker.yaml
Vladimir Hodakov c3013e3944
All checks were successful
ci/woodpecker/push/docker/2 Pipeline was successful
ci/woodpecker/push/docker/1 Pipeline was successful
Try to remove platform tag from builds
2025-01-14 01:49:25 +04:00

41 lines
761 B
YAML

matrix:
platform:
- linux/amd64
- linux/arm64
labels:
platform: ${platform}
when:
branch: main
event: [push, pull_request, tag]
variables:
- &repo source.hodakov.me/${CI_REPO_OWNER}/phpbb
steps:
test-build:
image: woodpeckerci/plugin-docker-buildx:5.1.0
privileged: true
settings:
dockerfile: Dockerfile
dry_run: true
repo: *repo
auto_tag: true
when:
event: pull_request
publish:
image: woodpeckerci/plugin-docker-buildx:5.1.0
privileged: true
settings:
dockerfile: Dockerfile
repo: *repo
registry: source.hodakov.me
auto_tag: true
username: ${CI_REPO_OWNER}
password:
from_secret: registry_token
when:
event: [push, tag]