Skip to content

Commit 3d9f344

Browse files
committed
docs: Docker image updates and tags
1 parent 175b9a0 commit 3d9f344

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/docker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
- cron: '0 4 * * *'
2020
env:
2121
IMAGE_NAME: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && 'dunglas/frankenphp' || 'dunglas/frankenphp-dev' }}
22+
LATEST: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && '0' || '1' }}
2223
jobs:
2324
prepare:
2425
runs-on: ubuntu-latest

.github/workflows/static.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ on:
1919
- cron: '0 0 * * *'
2020
env:
2121
IMAGE_NAME: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && 'dunglas/frankenphp' || 'dunglas/frankenphp-dev' }}
22+
LATEST: ${{ (github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.version) || startsWith(github.ref, 'refs/tags/')) && '0' || '1' }}
2223
jobs:
2324
prepare:
2425
runs-on: ubuntu-latest

docs/docker.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,18 @@ RUN adduser -D ${USER} \
144144
# Caddy requires write access to /data/caddy and /config/caddy
145145
RUN chown -R ${USER}:${USER} /data/caddy && chown -R ${USER}:${USER} /config/caddy
146146
```
147+
148+
## Updates
149+
150+
The Docker images are built:
151+
152+
* when a new release is tagged
153+
* daily at 4am UTC, if new versions of the official PHP images are available
154+
155+
## Development Versions
156+
157+
Development versions are available in the [`dunglas/frankenphp-dev`](https://hub.docker.com/repository/docker/dunglas/frankenphp-dev) Docker repository.
158+
A new build is triggered every time a commit is pushed to the main branch of the GitHub repository.
159+
160+
The `latest*` tags point to the head of the `main` branch.
161+
Tags of the form `sha-<git-commit-hash>` are also available.

0 commit comments

Comments
 (0)