3 Commits

Author SHA1 Message Date
bf8f09cf98 Use dind for dry-run
All checks were successful
ci/woodpecker/pr/docker/2 Pipeline was successful
ci/woodpecker/pr/docker/1 Pipeline was successful
2025-01-14 01:23:28 +04:00
0df2a638b4 Add ability to build image using multiple runners (!1)
All checks were successful
ci/woodpecker/push/docker/2 Pipeline was successful
ci/woodpecker/push/docker/1 Pipeline was successful
Reviewed-on: #1
2025-01-13 17:37:19 +04:00
5071b3131d Pass REMOTE_ADDR from upstream proxy
Some checks failed
ci/woodpecker/tag/docker Pipeline was successful
ci/woodpecker/push/docker Pipeline failed
2025-01-08 21:23:05 +04:00
3 changed files with 18 additions and 10 deletions

View File

@@ -1,3 +1,10 @@
matrix:
platform:
- linux/amd64
- linux/arm64
labels:
platform: ${platform}
when:
branch: main
@@ -7,15 +14,12 @@ variables:
- &repo source.hodakov.me/${CI_REPO_OWNER}/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
auto_tag: true
test-build:
image: docker:27-dind
commands:
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10} .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: pull_request
@@ -24,7 +28,7 @@ steps:
privileged: true
settings:
dockerfile: Dockerfile
platforms: linux/arm64/v8,linux/amd64
platforms: ${platform}
repo: *repo
registry: source.hodakov.me
auto_tag: true

View File

@@ -9,6 +9,9 @@ This is a heavily modified fork of [selim13's docker-phpbb image](https://github
You can find an example of forum running using this image at [ks.fhs.sh](https://ks.fhs.sh).
Note: this image expects that you run it behind another reverse proxy and does _not_ handle HTTPS automatically. Use it
behind another instance of caddy, for example.
# Supported tags and respective `Dockerfile` links
- [`3`,`3.3`, `3.3.14`, `latest`](https://source.hodakov.me/hdkv/docker-phpbb/src/branch/main/Dockerfile) bundled with PHP 8

View File

@@ -10,6 +10,7 @@
php_fastcgi unix//run/php-fpm.sock {
trusted_proxies private_ranges
env REMOTE_ADDR {client_ip}
}
file_server