39
39
40
40
steps :
41
41
- name : Checkout Repo
42
- uses : actions/checkout@v4
42
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
43
43
44
44
- name : Get Kernel Version
45
45
id : kernel-version
51
51
52
52
- name : Cache Kernel RPMs
53
53
id : cache-kernel
54
- uses : actions/cache@v4
54
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
55
55
with :
56
56
path : ${{ env.KCPATH }}
57
57
key : ${{ inputs.kernel_flavor }}-${{ steps.kernel-version.outputs.kernel_release }} # job outputs KCKEY
@@ -192,7 +192,7 @@ jobs:
192
192
193
193
steps :
194
194
- name : Checkout Repo
195
- uses : actions/checkout@v4
195
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
196
196
197
197
- name : Create cache parent dir
198
198
shell : bash
@@ -201,7 +201,7 @@ jobs:
201
201
202
202
- name : Cache Kernel RPMs
203
203
id : cache-kernel
204
- uses : actions/cache@v4
204
+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
205
205
with :
206
206
path : ${{ env.KCPATH }}
207
207
key : ${{ needs.cache-kernel.outputs.KCKEY }}
@@ -290,7 +290,7 @@ jobs:
290
290
291
291
# Build metadata
292
292
- name : Image Metadata
293
- uses : docker/metadata-action@v5
293
+ uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
294
294
id : meta
295
295
with :
296
296
images : |
@@ -322,7 +322,7 @@ jobs:
322
322
# Build image using Buildah action
323
323
- name : Build Image
324
324
id : build_image
325
- uses : redhat-actions/buildah-build@v2
325
+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
326
326
with :
327
327
containerfiles : |
328
328
./Containerfile.${{ matrix.cfile_suffix }}
@@ -339,7 +339,7 @@ jobs:
339
339
oci : false
340
340
341
341
- name : Build Test Image
342
- uses : redhat-actions/buildah-build@v2
342
+ uses : redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2
343
343
with :
344
344
containerfiles : |
345
345
./Containerfile.test
@@ -367,19 +367,19 @@ jobs:
367
367
# https://github.com/macbre/push-to-ghcr/issues/12
368
368
- name : Lowercase Registry
369
369
id : registry_case
370
- uses : ASzc/change-string-case-action@v6
370
+ uses : ASzc/change-string-case-action@d0603cd0a7dd490be678164909f65c7737470a7f # v6
371
371
with :
372
372
string : ${{ env.IMAGE_REGISTRY }}
373
373
374
374
- name : Push To GHCR
375
- uses : Wandalen/wretry.action@v3.8.0
375
+ uses : Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
376
376
id : push
377
377
if : github.event_name != 'pull_request'
378
378
env :
379
379
REGISTRY_USER : ${{ github.actor }}
380
380
REGISTRY_PASSWORD : ${{ github.token }}
381
381
with :
382
- action : redhat-actions/push-to-registry@v2
382
+ action : redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2
383
383
attempt_limit : 3
384
384
attempt_delay : 15000
385
385
with : |
@@ -392,15 +392,15 @@ jobs:
392
392
--disable-content-trust
393
393
394
394
- name : Login to GitHub Container Registry
395
- uses : docker/login-action@v3
395
+ uses : docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
396
396
if : github.event_name != 'pull_request'
397
397
with :
398
398
registry : ghcr.io
399
399
username : ${{ github.actor }}
400
400
password : ${{ secrets.GITHUB_TOKEN }}
401
401
402
402
# Sign container
403
- - uses : sigstore/cosign-installer@v3.8.1
403
+ - uses : sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3.8.1
404
404
if : github.event_name != 'pull_request'
405
405
406
406
- name : Sign container image
0 commit comments