Add basic Woodpecker CI configuration
This commit is contained in:
parent
8099df95b5
commit
a66eefb5ab
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.env
|
||||
pkg
|
||||
.secrets
|
||||
.idea
|
||||
|
35
.woodpecker/docker.yaml
Normal file
35
.woodpecker/docker.yaml
Normal 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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user