And now it's time to try to fix CI

This commit is contained in:
2025-01-07 01:47:41 +04:00
parent d298cfdc2d
commit d10148e9d8

36
.woodpecker/docker.yaml Normal file
View File

@@ -0,0 +1,36 @@
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:
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:
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