Skip to content

Commit d03b26d

Browse files
authored
Merge pull request #7 from samhclark/pin-actions-by-hash
Pin actions by commit hash
2 parents beab403 + 1cc8025 commit d03b26d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
2121

2222
- name: Install cosign
2323
if: ${{ github.event_name != 'pull_request' }}
24-
uses: sigstore/cosign-installer@v3.6.0
24+
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0
2525
with:
26-
cosign-release: 'v2.4.0'
26+
cosign-release: 'v2.4.1'
2727

2828
- name: Build image
2929
id: build
30-
uses: redhat-actions/buildah-build@v2
30+
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13
3131
with:
3232
containerfiles: |
3333
./Containerfile
@@ -37,15 +37,15 @@ jobs:
3737
40
3838
3939
- name: Log in to GitHub Container Registry
40-
uses: redhat-actions/podman-login@v1
40+
uses: redhat-actions/podman-login@4934294ad0449894bcd1e9f191899d7292469603 # v1.7
4141
if: ${{ github.event_name != 'pull_request' }}
4242
with:
4343
username: ${{ github.actor }}
4444
password: ${{ secrets.GITHUB_TOKEN }}
4545
registry: ghcr.io/${{ github.repository_owner }}
4646

4747
- name: Push to GitHub Container Registry
48-
uses: redhat-actions/push-to-registry@v2
48+
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8
4949
id: push
5050
if: ${{ github.event_name != 'pull_request' }}
5151
with:

0 commit comments

Comments
 (0)