Skip to content

Commit 11b5505

Browse files
authored
Merge pull request #1006 from heyvister1/hadolint-action-sha
replacing hadolint-action@v3.3.0 with commit sha for immutability
2 parents 741a69b + 3f1cb4e commit 11b5505

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,16 +129,17 @@ jobs:
129129
- name: checkout PR
130130
uses: actions/checkout@v5
131131
- name: run hadolint on operator dockerfile
132-
uses: hadolint/hadolint-action@v3.3.0
132+
# using commit sha of the hadolint-action to preserve immutability
133+
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5
133134
with:
134135
dockerfile: Dockerfile
135136
- name: run hadolint on config daemon dockerfile
136-
uses: hadolint/hadolint-action@v3.3.0
137+
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5
137138
with:
138139
dockerfile: Dockerfile.sriov-network-config-daemon
139140
ignore: DL3033
140141
- name: run hadolint on webhook dockerfile
141-
uses: hadolint/hadolint-action@v3.3.0
142+
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5
142143
with:
143144
dockerfile: Dockerfile.webhook
144145
test-coverage:

0 commit comments

Comments
 (0)