7 Commits

Author SHA1 Message Date
e82bb3c70f Revert "Update php-fpm config"
Some checks failed
ci/woodpecker/tag/tag unknown status
ci/woodpecker/tag/build/1 Pipeline failed
ci/woodpecker/tag/build/2 Pipeline failed
This reverts commit e62b953a1b.
2025-05-11 11:59:07 +03:00
e62b953a1b Update php-fpm config
Some checks failed
ci/woodpecker/tag/build/1 Pipeline failed
ci/woodpecker/tag/tag unknown status
ci/woodpecker/tag/build/2 Pipeline failed
2025-05-11 11:45:33 +03:00
eafeffe952 Update phpbb to 3.3.15 2025-05-11 11:35:57 +03:00
d63cd998c6 Fix tag manifest creation
Some checks failed
ci/woodpecker/tag/tag unknown status
ci/woodpecker/tag/build/2 Pipeline failed
ci/woodpecker/tag/build/1 Pipeline failed
2025-01-14 03:47:50 +04:00
35a02be21c Add semver tagging using docker-dind 2025-01-14 03:45:07 +04:00
ae2439998d Update README 2025-01-14 03:07:37 +04:00
ce96e5592a Use Docker buildx to build images 2025-01-14 03:05:02 +04:00
4 changed files with 38 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ steps:
test-build:
image: docker:27-dind
commands:
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
- docker buildx build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
@@ -27,7 +27,7 @@ steps:
from_secret: registry_token
commands:
- docker login -u ${CI_REPO_OWNER} -p $${CI_USER_PASSWORD} source.hodakov.me
- docker build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
- docker buildx build -t source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/} .
- docker push source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/}
volumes:
- /var/run/docker.sock:/var/run/docker.sock

View File

@@ -6,7 +6,7 @@ depends_on:
- build
steps:
tag:
tag latest:
image: docker:27-dind
environment:
CI_USER_PASSWORD:
@@ -19,3 +19,28 @@ steps:
- docker manifest push source.hodakov.me/hdkv/phpbb:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: push
tag semver:
image: docker:27-dind
environment:
CI_USER_PASSWORD:
from_secret: registry_token
commands:
- set -eu
- docker login -u ${CI_REPO_OWNER} -p $${CI_USER_PASSWORD} source.hodakov.me
- source ./scripts/semver.sh
- echo "Creating manifest for $${DOCKER_EXACT_TAG}, $${DOCKER_MAJOR_TAG} and $${DOCKER_MINOR_TAG}"
- docker pull source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64
- docker pull source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
- docker manifest create source.hodakov.me/hdkv/phpbb:$${DOCKER_EXACT_TAG} source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
- docker manifest create source.hodakov.me/hdkv/phpbb:$${DOCKER_MINOR_TAG} source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
- docker manifest create source.hodakov.me/hdkv/phpbb:$${DOCKER_MAJOR_TAG} source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-amd64 source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-arm64
- docker manifest push source.hodakov.me/hdkv/phpbb:$${DOCKER_EXACT_TAG}
- docker manifest push source.hodakov.me/hdkv/phpbb:$${DOCKER_MINOR_TAG}
- docker manifest push source.hodakov.me/hdkv/phpbb:$${DOCKER_MAJOR_TAG}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: tag

View File

@@ -55,8 +55,8 @@ RUN mkdir /.config /phpbb
COPY src/ /var/www/html/
# Add phpBB installation
ENV PHPBB_VERSION=3.3.14
ENV PHPBB_SHA256=68cd6cf3faefa175ea3892ba02c6b112e8967ed33703521c79820e35bd15ec9a
ENV PHPBB_VERSION=3.3.15
ENV PHPBB_SHA256=b4a1d0b579651dcdd55f02c0b742d23fb5d45f915de60628d5aadd34d32cf761
WORKDIR /tmp

View File

@@ -175,8 +175,11 @@ If set to `true`, enables phpBB debug mode.
## Volumes
No default volumes are predefined. You can mount everything you want
inside `/phpbb/<something>`. For example, given that [ks.fhs.sh](https://ks.fhs.sh)
was migrating into Docker from bare metal instance back in 2023, I
mounted the directories `files`, `store`, `ext`, `images` and
`themes`, which proved working for more than a year at this point.
There are predefined volumes in the image:
- /phpbb/sqlite
- /phpbb/www/files
- /phpbb/www/store
- /phpbb/www/images/avatars/upload
This list of volumes should be good enough for a forum that starts from scratch.