Add basic Woodpecker CI configuration

This commit is contained in:
Vladimir Hodakov 2025-01-07 03:28:00 +04:00
parent 8099df95b5
commit a66eefb5ab
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
3 changed files with 38 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.env
pkg
.secrets
.idea

35
.woodpecker/docker.yaml Normal file
View File

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

View File

@ -7,6 +7,8 @@ Now it even bundles caddy instead of apache2. Thanks
Lightweight, Alpine based [phpBB](https://www.phpbb.com/) docker image.
You can find an example of forum running using this image at [ks.fhs.sh](https://ks.fhs.sh).
# Supported tags and respective `Dockerfile` links
- [`3.3`, `3.3.11`, `latest`](https://github.com/fat0troll/docker-phpbb/blob/master/Dockerfile) bundled with PHP 8