@@ -52,12 +52,12 @@ jobs:
5252 ref : ${{ steps.check.outputs.ref || (github.ref_type == 'tag' && github.ref_name) || (github.event_name == 'workflow_dispatch' && inputs.version) || '' }}
5353 base_fingerprint : ${{ steps.check.outputs.base_fingerprint }}
5454 steps :
55- - uses : actions/checkout@v6
55+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656 with :
5757 fetch-depth : 0
5858 persist-credentials : false
5959 - name : Set up Docker Buildx
60- uses : docker/setup-buildx-action@v4
60+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
6161 - name : Check PHP versions and base image fingerprint
6262 id : check
6363 env :
@@ -117,23 +117,23 @@ jobs:
117117 run : echo "sanitized_platform=${PLATFORM//\//-}" >> "${GITHUB_OUTPUT}"
118118 env :
119119 PLATFORM : ${{ matrix.platform }}
120- - uses : actions/checkout@v6
120+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
121121 with :
122122 ref : ${{ needs.prepare.outputs.ref }}
123123 persist-credentials : false
124124 - name : Set up Docker Buildx
125- uses : docker/setup-buildx-action@v4
125+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
126126 with :
127127 platforms : ${{ matrix.platform }}
128128 - name : Login to DockerHub
129- uses : docker/login-action@v4
129+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
130130 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
131131 with :
132132 username : ${{ vars.DOCKERHUB_USERNAME }}
133133 password : ${{ secrets.DOCKERHUB_TOKEN }} # zizmor: ignore[secrets-outside-env] TODO: drop once super-linter ships zizmor >=1.24.0, then the allowlist in zizmor.yaml takes over
134134 - name : Build
135135 id : build
136- uses : docker/bake-action@v7
136+ uses : docker/bake-action@a66e1c87e2eca0503c343edf1d208c716d54b8a8 # v7.1.0
137137 with :
138138 pull : true
139139 load : ${{ !fromJson(needs.prepare.outputs.push) }}
@@ -174,15 +174,15 @@ jobs:
174174 VARIANT : ${{ matrix.variant }}
175175 - name : Upload builder metadata
176176 if : fromJson(needs.prepare.outputs.push)
177- uses : actions/upload-artifact@v7
177+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
178178 with :
179179 name : metadata-builder-${{ matrix.variant }}-${{ steps.prepare.outputs.sanitized_platform }}
180180 path : /tmp/metadata/builder/*
181181 if-no-files-found : error
182182 retention-days : 1
183183 - name : Upload runner metadata
184184 if : fromJson(needs.prepare.outputs.push)
185- uses : actions/upload-artifact@v7
185+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
186186 with :
187187 name : metadata-runner-${{ matrix.variant }}-${{ steps.prepare.outputs.sanitized_platform }}
188188 path : /tmp/metadata/runner/*
@@ -221,15 +221,15 @@ jobs:
221221 target : ["builder", "runner"]
222222 steps :
223223 - name : Download metadata
224- uses : actions/download-artifact@v8
224+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
225225 with :
226226 pattern : metadata-${{ matrix.target }}-${{ matrix.variant }}-*
227227 path : /tmp/metadata
228228 merge-multiple : true
229229 - name : Set up Docker Buildx
230- uses : docker/setup-buildx-action@v4
230+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
231231 - name : Login to DockerHub
232- uses : docker/login-action@v4
232+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
233233 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
234234 with :
235235 username : ${{ vars.DOCKERHUB_USERNAME }}
@@ -257,7 +257,7 @@ jobs:
257257 METADATA : ${{ needs.prepare.outputs.metadata }}
258258 TARGET : ${{ matrix.target }}
259259 VARIANT : ${{ matrix.variant }}
260- - uses : actions/attest@v4
260+ - uses : actions/attest@a1948c3f048ba23858d222213b7c278aabede763 # v4.1.1
261261 with :
262262 # docker.io/ prefix is required: actions/attest splits subject-name
263263 # on the first '/' to find the registry. We only push to Docker Hub.
0 commit comments