From c9324b29996c835ee31d2ce4f48ca786bf6b12d6 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 2 Aug 2026 14:26:39 +0000 Subject: [PATCH 1/3] Read unstable prerelease PHP tag from a shared file The 8.6.0alpha2 prerelease tag was hardcoded separately in both the buildx and test workflows. Move it to a single unstable-tag file so both workflows read the same value and bumping the prerelease only needs one edit. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_016TmwVXKNGSdmicRjJqw8LY --- .github/workflows/buildx.yml | 2 +- .github/workflows/test.yml | 6 +++--- unstable-tag | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 unstable-tag diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index 5c32648..ae4e672 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -59,7 +59,7 @@ jobs: run: | USE_VERSION=$PHP_VERSION if [ "$PHP_VERSION" == "8.6" ]; then - USE_VERSION="8.6.0alpha2" + USE_VERSION=$(cat unstable-tag) fi echo "name=$USE_VERSION" >> "$GITHUB_OUTPUT" - name: Build and push Docker image diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d8388a1..d3e7579 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,9 +48,9 @@ jobs: - name: Build test image if: matrix.php-version == '8.6' - run: docker build -t php-base --build-arg PHP_VERSION=$PHP_VERSION . - env: - PHP_VERSION: '8.6.0alpha2' + run: | + PHP_VERSION=$(cat unstable-tag) + docker build -t php-base --build-arg PHP_VERSION=$PHP_VERSION . - name: Pull main image for size comparison id: pull_main diff --git a/unstable-tag b/unstable-tag new file mode 100644 index 0000000..8a5b208 --- /dev/null +++ b/unstable-tag @@ -0,0 +1 @@ +8.6.0alpha2 From feb7e388e2be055c57eee376252e2d63c2b83c47 Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Sun, 2 Aug 2026 17:24:05 +0200 Subject: [PATCH 2/3] Update unstable-tag --- unstable-tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unstable-tag b/unstable-tag index 8a5b208..fb100c5 100644 --- a/unstable-tag +++ b/unstable-tag @@ -1 +1 @@ -8.6.0alpha2 +8.6.0alpha3 From e3ebdfe0ab5eacedabc20f18e3677c9342b95298 Mon Sep 17 00:00:00 2001 From: Eirik Stanghelle Morland Date: Sun, 2 Aug 2026 17:36:00 +0200 Subject: [PATCH 3/3] Update unstable-tag --- unstable-tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unstable-tag b/unstable-tag index fb100c5..8a5b208 100644 --- a/unstable-tag +++ b/unstable-tag @@ -1 +1 @@ -8.6.0alpha3 +8.6.0alpha2