9393
9494 steps :
9595 - name : Checkout
96- uses : actions/checkout@v6
96+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
9797
9898 - name : Install
9999 uses : " posit-dev/images-shared/setup-bakery@main"
@@ -131,7 +131,7 @@ jobs:
131131
132132 steps :
133133 - name : Checkout
134- uses : actions/checkout@v6
134+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
135135
136136 - name : Setup bakery
137137 uses : " posit-dev/images-shared/setup-bakery@main"
@@ -142,7 +142,7 @@ jobs:
142142 uses : " posit-dev/images-shared/setup-goss@ci-native-multiplatform"
143143
144144 - name : Set up Docker
145- uses : docker/setup-docker-action@v5
145+ uses : docker/setup-docker-action@1a6edb0ba9ac496f6850236981f15d8f9a82254d # v5.0.0
146146 with :
147147 daemon-config : |
148148 {
@@ -151,10 +151,10 @@ jobs:
151151 }
152152 }
153153 - name : Setup docker buildx
154- uses : docker/setup-buildx-action@v4
154+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
155155
156156 - name : Setup ORAS CLI
157- uses : oras-project/setup-oras@v2
157+ uses : oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0
158158
159159 # Since secrets cannot be referenced in an `if` condition directly,
160160 # this step sets an output that we can reference later.
@@ -168,30 +168,30 @@ jobs:
168168 echo "ecr=$HAS_AWS_ROLE" >> $GITHUB_OUTPUT
169169
170170 - name : Login to GitHub Container Registry
171- uses : docker/login-action@v4
171+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
172172 with :
173173 registry : ghcr.io
174174 username : ${{ github.actor }}
175175 password : ${{ secrets.GITHUB_TOKEN }}
176176
177177 - name : Login to Docker Hub
178178 if : ${{ inputs.push && steps.filter-steps.outputs.docker-hub == 'true' }}
179- uses : docker/login-action@v4
179+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
180180 with :
181181 username : " posit"
182182 password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
183183
184184 - name : Configure AWS Credentials
185185 if : ${{ inputs.push && steps.filter-steps.outputs.ecr == 'true' }}
186- uses : aws-actions/configure-aws-credentials@v6
186+ uses : aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
187187 with :
188188 role-to-assume : ${{ secrets.AWS_ROLE }}
189189 aws-region : ${{ inputs.aws-region }}
190190 role-session-name : gha-bakery-build
191191
192192 - name : Login to Amazon ECR
193193 if : ${{ inputs.push && steps.filter-steps.outputs.ecr == 'true' }}
194- uses : aws-actions/amazon-ecr-login@v2
194+ uses : aws-actions/amazon-ecr-login@f2e9fc6c2b355c1890b65e6f6f0e2ac3e6e22f78 # v2.1.2
195195
196196 - name : Normalize platform
197197 id : normalize-platform
@@ -248,7 +248,7 @@ jobs:
248248 --metadata-file "./${IMAGE_NAME}-${IMAGE_VERSION}-${NORMALIZED_PLATFORM}-metadata.json" \
249249 --context "$CONTEXT"
250250 - name : Upload Metadata
251- uses : actions/upload-artifact@v7
251+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
252252 with :
253253 name : " ${{ matrix.img.image }}-${{ matrix.img.version }}-${{ steps.normalize-platform.outputs.platform }}-metadata"
254254 path : " ./${{ matrix.img.image }}-${{ matrix.img.version }}-${{ steps.normalize-platform.outputs.platform }}-metadata.json"
@@ -270,15 +270,15 @@ jobs:
270270
271271 steps :
272272 - name : Checkout
273- uses : actions/checkout@v6
273+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
274274
275275 - name : Setup bakery
276276 uses : " posit-dev/images-shared/setup-bakery@main"
277277 with :
278278 version : ${{ inputs.version }}
279279
280280 - name : Set up Docker
281- uses : docker/setup-docker-action@v5
281+ uses : docker/setup-docker-action@1a6edb0ba9ac496f6850236981f15d8f9a82254d # v5.0.0
282282 with :
283283 daemon-config : |
284284 {
@@ -299,39 +299,39 @@ jobs:
299299 echo "ecr=$HAS_AWS_ROLE" >> $GITHUB_OUTPUT
300300
301301 - name : Login to GitHub Container Registry
302- uses : docker/login-action@v4
302+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
303303 with :
304304 registry : ghcr.io
305305 username : ${{ github.actor }}
306306 password : ${{ secrets.GITHUB_TOKEN }}
307307
308308 - name : Login to Docker Hub
309309 if : ${{ inputs.push && steps.filter-steps.outputs.docker-hub == 'true' }}
310- uses : docker/login-action@v4
310+ uses : docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
311311 with :
312312 username : " posit"
313313 password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
314314
315315 - name : Configure AWS Credentials
316316 if : ${{ inputs.push && steps.filter-steps.outputs.ecr == 'true' }}
317- uses : aws-actions/configure-aws-credentials@v6
317+ uses : aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37 # v6.1.0
318318 with :
319319 role-to-assume : ${{ secrets.AWS_ROLE }}
320320 aws-region : ${{ inputs.aws-region }}
321321 role-session-name : gha-bakery-build
322322
323323 - name : Login to Amazon ECR
324324 if : ${{ inputs.push && steps.filter-steps.outputs.ecr == 'true' }}
325- uses : aws-actions/amazon-ecr-login@v2
325+ uses : aws-actions/amazon-ecr-login@f2e9fc6c2b355c1890b65e6f6f0e2ac3e6e22f78 # v2.1.2
326326
327327 - name : Setup docker buildx
328- uses : docker/setup-buildx-action@v4
328+ uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
329329
330330 - name : Setup ORAS CLI
331- uses : oras-project/setup-oras@v2
331+ uses : oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0
332332
333333 - name : Download Metadata
334- uses : actions/download-artifact@v8
334+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
335335 with :
336336 pattern : " ${{ matrix.img.image }}-${{ matrix.img.version }}-*-metadata"
337337 merge-multiple : true
@@ -365,7 +365,7 @@ jobs:
365365
366366 steps :
367367 - name : Checkout
368- uses : actions/checkout@v6
368+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
369369
370370 - name : Setup bakery
371371 uses : " posit-dev/images-shared/setup-bakery@main"
0 commit comments