24 Commits

Author SHA1 Message Date
Sagent af335e6708 fix: migrate from jcabillot/phpapache to dunglas/frankenphp
PR Checks / hadolint (pull_request) Successful in 9s
PR Checks / build-test (pull_request) Successful in 17s
2026-06-29 12:35:58 +00:00
jcabillot 7c780311e1 Merge pull request 'fix(ci): correct corrupted docker/login-action SHA (41 chars)' (#21) from fix/login-action-sha into master
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 14s
Main Release / build (push) Successful in 13s
Main Release / tag (push) Successful in 14s
Tag Release / hadolint (push) Successful in 8s
Tag Release / test (push) Successful in 15s
Tag Release / build-push (push) Successful in 47s
Reviewed-on: #21
2026-06-29 08:16:55 -04:00
cloudix_mcp_server eaa33a9d74 fix(ci): correct corrupted docker/login-action SHA (41 chars)
PR Checks / hadolint (pull_request) Successful in 11s
PR Checks / build-test (pull_request) Successful in 18s
Extra "f" character inserted at position 29 made the SHA 41 chars
instead of 40, causing "reference not found" on Gitea Actions runner.

Fixes CI run #2440 job #6174.
2026-06-29 12:13:57 +00:00
jcabillot b2c7777597 Merge pull request 'fix(ci): correct corrupted docker/build-push-action SHA' (#20) from fix/build-push-action-sha into master
Main Release / hadolint (push) Successful in 10s
Main Release / test (push) Successful in 17s
Main Release / build (push) Successful in 17s
Main Release / tag (push) Successful in 39s
Tag Release / hadolint (push) Successful in 7s
Tag Release / test (push) Successful in 14s
Tag Release / build-push (push) Failing after 4s
Reviewed-on: #20
2026-06-29 08:08:18 -04:00
cloudix_mcp_server 0ec94f79d4 fix(ci): correct corrupted docker/build-push-action SHA
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Successful in 15s
The SHA for docker/build-push-action@v7.2.0 in tag.yaml and cron.yaml
was corrupted: 0d7f5c8f should be 0d6e8b85.

Correct SHA from git ls-remote refs/tags/v7.2.0:
f9f3042f7e2789586610d6e8b85c8f03e5195baf

Fixes CI run #2437 job #6165 (reference not found on docker/login-action
clone — likely cascade from the corrupted build-push-action SHA).
2026-06-29 12:05:31 +00:00
jcabillot 28e3036f5c Merge pull request 'fix(ci): correct corrupted anothrNick/github-tag-action SHA' (#19) from fix/github-tag-action-sha into master
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 14s
Main Release / build (push) Successful in 11s
Main Release / tag (push) Successful in 32s
Tag Release / hadolint (push) Successful in 7s
Tag Release / test (push) Successful in 14s
Tag Release / build-push (push) Failing after 30s
Reviewed-on: #19
2026-06-28 22:14:25 -04:00
cloudix_mcp_server 928aca5505 fix(ci): correct corrupted anothrNick/github-tag-action SHA
PR Checks / build-test (pull_request) Successful in 1m59s
PR Checks / hadolint (pull_request) Successful in 6s
The SHA in the tag job of main.yaml was corrupted — missing the leading
'4' and with mutated bytes in the middle (da04aec3cc → da9f2a04ec).
Correct SHA for v1.75.0 is 4ed44965e0db8dab2b466a16da04aec3cc312fd8.

Fixes CI run #1981 job #4861: reference not found.
2026-06-28 18:09:15 +00:00
jcabillot 3166943afc Merge pull request 'chore(deps): update actions/checkout action to v7' (#18) from renovate/actions-checkout-7.x into master
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 18s
Main Release / build (push) Successful in 15s
Main Release / tag (push) Failing after 8s
Reviewed-on: #18
2026-06-18 16:22:58 -04:00
renovate 1afb8d92c5 chore(deps): update actions/checkout action to v7
PR Checks / hadolint (pull_request) Successful in 7s
PR Checks / build-test (pull_request) Successful in 14s
2026-06-18 15:24:32 +00:00
jcabillot ddcb9f9e62 Merge pull request 'chore(deps): update docker/metadata-action digest to 80c7e94' (#17) from renovate/docker-metadata-action-digest into master
Main Release / hadolint (push) Successful in 7s
Main Release / test (push) Successful in 14s
Main Release / build (push) Successful in 13s
Main Release / tag (push) Failing after 4s
Reviewed-on: #17
2026-06-13 19:51:22 -04:00
renovate cff4255b94 chore(deps): update docker/metadata-action digest to 80c7e94
PR Checks / build-test (pull_request) Successful in 16s
PR Checks / hadolint (pull_request) Failing after 14m4s
2026-06-13 22:00:28 +00:00
jcabillot 93df1d3f8d Merge pull request 'Convert CI to standard htpasswd 4-workflow pattern (no artifact)' (#16) from fix/workflow-standard into master
Main Release / hadolint (push) Successful in 5s
Main Release / test (push) Successful in 13s
Main Release / build (push) Successful in 20s
Main Release / tag (push) Failing after 5s
Reviewed-on: #16
2026-06-13 17:59:48 -04:00
cloudix_mcp_server a4a70f93da Convert tag.yaml to standard htpasswd 4-workflow pattern (no artifact)
PR Checks / hadolint (pull_request) Successful in 6s
PR Checks / build-test (pull_request) Successful in 14s
Replace artifact upload/download with direct build per job.
Trigger on tag push (v*). Chain: hadolint→test→build-push.
2026-06-13 17:54:46 -04:00
cloudix_mcp_server 19b827a0a7 Convert pr.yaml to standard htpasswd 4-workflow pattern (no artifact)
Replace artifact upload/download with direct build per job.
Chain: hadolint→build-test.
2026-06-13 17:54:41 -04:00
cloudix_mcp_server 361c2c72be Convert cron.yaml to standard htpasswd 4-workflow pattern (no artifact)
Preserve original schedule (0 0 * * *). Replace artifact upload/download
with setup-buildx + metadata-action + build-push-action chain.
2026-06-13 17:54:39 -04:00
cloudix_mcp_server 3c2d96a317 Convert main.yaml to standard htpasswd 4-workflow pattern (no artifact)
Replace artifact upload/download with direct build per job using
setup-buildx-action. Chain: hadolint→test→build→tag.
2026-06-13 17:54:38 -04:00
jcabillot 2aa907190a Merge pull request 'feat(ci): refactor pipelines — hadolint, PR checks, tag releases, nightly rebuild' (#15) from fix/refactor-ci-pipelines into master
Main CI / lint (push) Successful in 6s
Tag Release / tag (push) Failing after 8s
Main CI / build (push) Successful in 58s
Main CI / test (push) Successful in 22s
Main CI / push (push) Successful in 24s
Reviewed-on: #15
2026-06-12 16:23:04 -04:00
cloudix_mcp_server 6eca2fc500 feat(ci): add nightly rebuild workflow
PR Checks / lint (pull_request) Successful in 7s
PR Checks / build (pull_request) Successful in 53s
PR Checks / test (pull_request) Successful in 25s
2026-06-12 16:19:29 -04:00
cloudix_mcp_server e977e99155 feat(ci): add tag release workflow 2026-06-12 16:19:23 -04:00
cloudix_mcp_server ba4c8108ab feat(ci): add main CI workflow — lint, build, test, push to Docker Hub 2026-06-12 16:19:17 -04:00
cloudix_mcp_server 4f38b4377f feat(ci): add PR checks workflow — hadolint, build, test 2026-06-12 16:19:12 -04:00
cloudix_mcp_server 89725e8e1b chore(ci): remove monolithic docker-build.yaml 2026-06-12 16:19:08 -04:00
jcabillot 0ddda779fb Merge pull request 'ci: add automatic semver tagging on merge to master' (#14) from feat/semver-tag-action into master
Docker Build and Push / lint (push) Successful in 6s
Docker Build and Push / build (push) Successful in 56s
Docker Build and Push / test (push) Successful in 32s
Docker Build and Push / push (push) Failing after 1m18s
Reviewed-on: #14
2026-06-12 13:39:40 -04:00
cloudix_mcp_server 2913b930aa ci: add automatic semver tagging on merge to master
Docker Build and Push / lint (pull_request) Successful in 6s
Docker Build and Push / build (pull_request) Successful in 1m0s
Docker Build and Push / test (pull_request) Successful in 25s
Docker Build and Push / push (pull_request) Has been skipped
2026-06-12 13:22:59 -04:00
8 changed files with 191 additions and 100 deletions
+53
View File
@@ -0,0 +1,53 @@
name: Nightly Rebuild
on:
schedule:
- cron: '0 0 * * *'
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: get-latest-tag
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
echo "tag=$TAG" >> $GITHUB_OUTPUT
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/ip
tags: |
type=raw,value=${{ steps.get-latest-tag.outputs.tag }}-latest,enable=${{ steps.get-latest-tag.outputs.tag != '' }}
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
-82
View File
@@ -1,82 +0,0 @@
name: Docker Build and Push
on:
pull_request:
branches: [master]
push:
branches: [master]
schedule:
- cron: '0 0 * * *'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Hadolint
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Build image
run: docker build -t ci-image:${{ github.sha }} .
- name: Save image
run: docker save -o image.tar ci-image:${{ github.sha }}
- name: Upload artifact
uses: https://github.com/ChristopherHX/gitea-upload-artifact@62ac910c5d3dfa85c7cb2df15afe2e342b2407c2 # main
with:
name: docker-image
path: image.tar
retention-days: 1
test:
runs-on: ubuntu-latest
needs: [lint, build]
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
- name: Download artifact
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- name: Run tests
run: bash tests/test.sh ci-image:${{ github.sha }}
push:
runs-on: ubuntu-latest
needs: test
if: github.event_name != 'pull_request'
steps:
- name: Download artifact
uses: https://github.com/ChristopherHX/gitea-download-artifact@75635f32b4c1c41c4b3d64e8f85210112ed4c9c7 # main
with:
name: docker-image
- name: Load image
run: docker load < image.tar
- name: Login to Docker Hub
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Tag and push
run: |
docker tag ci-image:${{ github.sha }} jcabillot/ip:latest
docker push jcabillot/ip:latest
+49
View File
@@ -0,0 +1,49 @@
name: Main Release
on:
push:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t jcabillot/ip:${{ github.sha }} .
tag:
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
- name: Configure git auth
run: |
git remote set-url origin "https://x-access-token:${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}@scm.cabillot.eu/web/ip.git"
- uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # v1.75.0
env:
GITHUB_TOKEN: ${{ secrets.SA_TOKEN_ACTION_PUSH_TAGS }}
DEFAULT_BUMP: patch
RELEASE_BRANCHES: master
WITH_V: true
GIT_API_TAGGING: false
+22
View File
@@ -0,0 +1,22 @@
name: PR Checks
on:
pull_request:
branches: [master]
jobs:
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
+48
View File
@@ -0,0 +1,48 @@
name: Tag Release
on:
push:
tags: ['*']
jobs:
hadolint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: Dockerfile
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- run: docker build -t ci-image:${{ github.sha }} .
- run: bash tests/test.sh ci-image:${{ github.sha }}
build-push:
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: meta
uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6
with:
images: jcabillot/ip
tags: |
type=ref,event=tag
type=ref,event=tag,suffix=-latest
- uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
pull: true
+11
View File
@@ -0,0 +1,11 @@
{
auto_https off
frankenphp
}
:8080 {
root * /app/public
encode zstd br gzip
php_server
file_server
}
+7 -3
View File
@@ -1,5 +1,9 @@
ARG VERSION="latest" FROM dunglas/frankenphp:1-php8.5-alpine
FROM "jcabillot/phpapache:${VERSION}"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>" LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
COPY "root" "/var/www/html" WORKDIR /app
COPY Caddyfile /etc/frankenphp/Caddyfile
COPY --chown=www-data:www-data root /app/public
USER www-data
+1 -15
View File
@@ -1,17 +1,3 @@
{ {
"$schema": "https://docs.renovatebot.com/renovate-schema.json", "$schema": "https://docs.renovatebot.com/renovate-schema.json"
"customManagers": [
{
"customType": "regex",
"description": "Detect ARG VERSION pin for jcabillot/phpapache base image",
"managerFilePatterns": [
"/^Dockerfile$/"
],
"matchStrings": [
"ARG\\s+VERSION=\"(?<currentValue>[^\"]+)\""
],
"depNameTemplate": "jcabillot/phpapache",
"datasourceTemplate": "docker"
}
]
} }