Compare commits
4 Commits
b4b1c47eae
...
v3.3.14-2
| Author | SHA1 | Date | |
|---|---|---|---|
|
d63cd998c6
|
|||
|
35a02be21c
|
|||
|
ae2439998d
|
|||
|
ce96e5592a
|
@@ -14,7 +14,7 @@ steps:
|
|||||||
test-build:
|
test-build:
|
||||||
image: docker:27-dind
|
image: docker:27-dind
|
||||||
commands:
|
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:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
when:
|
when:
|
||||||
@@ -27,7 +27,7 @@ steps:
|
|||||||
from_secret: registry_token
|
from_secret: registry_token
|
||||||
commands:
|
commands:
|
||||||
- docker login -u ${CI_REPO_OWNER} -p $${CI_USER_PASSWORD} source.hodakov.me
|
- 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/}
|
- docker push source.hodakov.me/hdkv/phpbb:${CI_COMMIT_SHA:0:10}-${platform##linux/}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ depends_on:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
tag:
|
tag latest:
|
||||||
image: docker:27-dind
|
image: docker:27-dind
|
||||||
environment:
|
environment:
|
||||||
CI_USER_PASSWORD:
|
CI_USER_PASSWORD:
|
||||||
@@ -19,3 +19,28 @@ steps:
|
|||||||
- docker manifest push source.hodakov.me/hdkv/phpbb:latest
|
- docker manifest push source.hodakov.me/hdkv/phpbb:latest
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /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
|
||||||
|
|||||||
13
README.md
13
README.md
@@ -175,8 +175,11 @@ If set to `true`, enables phpBB debug mode.
|
|||||||
|
|
||||||
## Volumes
|
## Volumes
|
||||||
|
|
||||||
No default volumes are predefined. You can mount everything you want
|
There are predefined volumes in the image:
|
||||||
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
|
- /phpbb/sqlite
|
||||||
mounted the directories `files`, `store`, `ext`, `images` and
|
- /phpbb/www/files
|
||||||
`themes`, which proved working for more than a year at this point.
|
- /phpbb/www/store
|
||||||
|
- /phpbb/www/images/avatars/upload
|
||||||
|
|
||||||
|
This list of volumes should be good enough for a forum that starts from scratch.
|
||||||
|
|||||||
Reference in New Issue
Block a user