ci(mod_whp_symlink): harden PR job on shared runners; publish builds never reuse cache
shared-httpd mod_whp_symlink PR check / Symlink-Module-Probe (pull_request) Successful in 2m25s
shared-httpd mod_whp_symlink PR check / Symlink-Module-Probe (pull_request) Successful in 2m25s
- PR workflow: no secrets/registry login, checkout without persisted credentials, docker build --pull --no-cache, per-run tag shared-httpd:pr-probe-<run_id>, always() cleanup of the image and containers. - build-push.yaml: every docker/build-push-action step gets pull: true and no-cache: true (base is already digest-pinned by the resolve step). - Wiring tests for both; docs: CI trust model. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
This commit is contained in:
1 parent
0d9e57e012
commit
cc68d30d57
4 files changed
+106
-2
No files matched your search
@@ -286,6 +286,10 @@ jobs:
|
||||
id: amd64
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
platforms: linux/amd64
|
||||
build-args: |
|
||||
PHPVER=${{ matrix.phpver }}
|
||||
@@ -306,6 +310,10 @@ jobs:
|
||||
timeout-minutes: 45
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
platforms: linux/arm64
|
||||
build-args: |
|
||||
PHPVER=${{ matrix.phpver }}
|
||||
@@ -327,6 +335,10 @@ jobs:
|
||||
timeout-minutes: 45
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
platforms: linux/arm64
|
||||
build-args: |
|
||||
PHPVER=${{ matrix.phpver }}
|
||||
@@ -482,6 +494,10 @@ jobs:
|
||||
id: amd64
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.fpm
|
||||
platforms: linux/amd64
|
||||
build-args: |
|
||||
@@ -503,6 +519,10 @@ jobs:
|
||||
timeout-minutes: 45
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.fpm
|
||||
platforms: linux/arm64
|
||||
build-args: |
|
||||
@@ -525,6 +545,10 @@ jobs:
|
||||
timeout-minutes: 45
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.fpm
|
||||
platforms: linux/arm64
|
||||
build-args: |
|
||||
@@ -695,6 +719,10 @@ jobs:
|
||||
- name: Build and Push LiteSpeed Image
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.litespeed
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
@@ -853,6 +881,10 @@ jobs:
|
||||
- name: Build and Push lsphp Image
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.lsphp
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
@@ -954,6 +986,10 @@ jobs:
|
||||
id: amd64
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.shared-httpd
|
||||
platforms: linux/amd64
|
||||
build-args: |
|
||||
@@ -987,6 +1023,10 @@ jobs:
|
||||
timeout-minutes: 25
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.shared-httpd
|
||||
platforms: linux/arm64
|
||||
build-args: |
|
||||
@@ -1006,6 +1046,10 @@ jobs:
|
||||
timeout-minutes: 25
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.shared-httpd
|
||||
platforms: linux/arm64
|
||||
build-args: |
|
||||
@@ -1111,6 +1155,10 @@ jobs:
|
||||
- name: Build and Push Shared OLS Image
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
# Never trust a cache or a local image: fresh pull of the (digest-pinned)
|
||||
# base and no layer cache, whatever ran on this runner before.
|
||||
pull: true
|
||||
no-cache: true
|
||||
file: ./Dockerfile.shared-ols
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
|
||||
Reference in new issue
Block a user