diff --git a/.gitignore b/.gitignore index 7e0dc53..76e9eab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.env pkg .secrets .idea diff --git a/.woodpecker/docker.yaml b/.woodpecker/docker.yaml new file mode 100644 index 0000000..ae7878b --- /dev/null +++ b/.woodpecker/docker.yaml @@ -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 diff --git a/README.MD b/README.MD index 701bb94..26c163d 100644 --- a/README.MD +++ b/README.MD @@ -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