ci: pin every third-party action to a full commit SHA
actions/checkout v4.4.0 11d5960a..., docker/login-action v3.7.0 c94ce9fb..., docker/setup-qemu-action v3.7.0 c7c53464..., docker/setup-buildx-action v3.12.0 8d2750c6..., docker/build-push-action v6.19.2 10e90e36.... Each is the commit the floating major tag pointed at (latest release of that major, all > 2 weeks old, lightweight tags verified with git ls-remote). Tested on a branch with workflow_dispatch: the runner resolves owner/repo@sha. 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
af008d7785
commit
f0391a4af8
3 files changed
+56
-56
No files matched your search
@@ -98,7 +98,7 @@ jobs:
|
||||
|
||||
- name: Checkout
|
||||
if: steps.t.outputs.skip == '0'
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
||||
|
||||
# sha256 of php-X.Y.Z.tar.xz from php.net's own releases JSON. The build
|
||||
# re-verifies it AND the OpenPGP signature; this step only refuses early
|
||||
@@ -135,17 +135,17 @@ jobs:
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
if: steps.t.outputs.skip == '0'
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
|
||||
|
||||
- name: Set up QEMU (arm64)
|
||||
if: steps.t.outputs.skip == '0' && steps.t.outputs.arm == 'true'
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
|
||||
with:
|
||||
platforms: arm64
|
||||
|
||||
- name: Login to Gitea
|
||||
if: steps.t.outputs.skip == '0'
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
||||
with:
|
||||
registry: repo.anhonesthost.net
|
||||
username: ${{ secrets.CI_USER }}
|
||||
@@ -155,7 +155,7 @@ jobs:
|
||||
- name: Build amd64 (push by digest)
|
||||
if: steps.t.outputs.skip == '0'
|
||||
id: amd64
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
file: ${{ steps.t.outputs.dockerfile }}
|
||||
platforms: linux/amd64
|
||||
@@ -176,7 +176,7 @@ jobs:
|
||||
id: arm64
|
||||
continue-on-error: true
|
||||
timeout-minutes: 120
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
|
||||
with:
|
||||
file: ${{ steps.t.outputs.dockerfile }}
|
||||
platforms: linux/arm64
|
||||
|
||||
Reference in new issue
Block a user