Skip to content

Commit fb19199

Browse files
committed
addendum to #981, update and document the versions for all actions
1 parent 7131b24 commit fb19199

6 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/docker-build-push-scan.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
steps:
4141
-
4242
name: Cancel previous run in progress
43-
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
43+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # v0.13.1
4444
with:
4545
ignore_sha: true
4646
all_but_latest: true
@@ -77,20 +77,20 @@ jobs:
7777
id: extract_malcolm_version
7878
-
7979
name: Set up Docker Buildx
80-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
80+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
8181
with:
8282
driver-opts: |
8383
image=moby/buildkit:master
8484
-
8585
name: Log in to registry
86-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
86+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
8787
with:
8888
registry: ghcr.io
8989
username: ${{ github.repository_owner }}
9090
password: ${{ secrets.GITHUB_TOKEN }}
9191
-
9292
name: Build and push
93-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
93+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
9494
with:
9595
context: .
9696
file: ${{ inputs.dockerfile }}
@@ -111,7 +111,7 @@ jobs:
111111
name: Run Trivy vulnerability scanner
112112
if: ${{ matrix.platform == 'linux/amd64' }}
113113
id: trivy-scan
114-
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1
114+
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
115115
env:
116116
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
117117
with:

.github/workflows/iso-build-push.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
steps:
2929
-
3030
name: Cancel previous run in progress
31-
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
31+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # v0.13.1
3232
with:
3333
ignore_sha: true
3434
all_but_latest: true
3535
access_token: ${{ secrets.GITHUB_TOKEN }}
3636
-
3737
name: Set up Docker Buildx
38-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
38+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
3939
with:
4040
driver-opts: |
4141
image=moby/buildkit:master
@@ -150,7 +150,7 @@ jobs:
150150
name: Run Trivy vulnerability scanner
151151
if: ${{ matrix.platform == 'linux/amd64' }}
152152
id: trivy-scan
153-
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1
153+
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
154154
env:
155155
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
156156
with:
@@ -171,14 +171,14 @@ jobs:
171171
sarif_file: 'trivy-results.sarif'
172172
-
173173
name: ghcr.io login
174-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
174+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
175175
with:
176176
registry: ghcr.io
177177
username: ${{ github.repository_owner }}
178178
password: ${{ secrets.GITHUB_TOKEN }}
179179
-
180180
name: Build and push ISO image
181-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
181+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
182182
with:
183183
context: ./malcolm-iso
184184
build-args: |

.github/workflows/issues-to-dev-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Add issue to project
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c # v0.5.0
13+
- uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0
1414
with:
1515
project-url: https://github.com/orgs/cisagov/projects/99
1616
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

.github/workflows/issues-to-training-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Add issue to project
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/add-to-project@31b3f3ccdc584546fc445612dec3f38ff5edb41c # v0.5.0
13+
- uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0
1414
with:
1515
project-url: https://github.com/orgs/cisagov/projects/98
1616
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

.github/workflows/jekyll-gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
source: ./
4848
destination: ./_site
4949
- name: Upload artifact
50-
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
50+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9
5151

5252
# Deployment job
5353
deploy:

.github/workflows/raspi-build-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ jobs:
3434
steps:
3535
-
3636
name: Cancel previous run in progress
37-
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66
37+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # v0.13.1
3838
with:
3939
ignore_sha: true
4040
all_but_latest: true
4141
access_token: ${{ secrets.GITHUB_TOKEN }}
4242
-
4343
name: Set up Docker Buildx
44-
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
44+
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
4545
with:
4646
driver-opts: |
4747
image=moby/buildkit:master
@@ -160,14 +160,14 @@ jobs:
160160
popd
161161
-
162162
name: ghcr.io login
163-
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2
163+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
164164
with:
165165
registry: ghcr.io
166166
username: ${{ github.repository_owner }}
167167
password: ${{ secrets.GITHUB_TOKEN }}
168168
-
169169
name: Build and push IMG image
170-
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
170+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
171171
with:
172172
context: ./hedgehog-raspi
173173
build-args: |

0 commit comments

Comments
 (0)