Skip to content

Commit 9a4f8a8

Browse files
authored
ci: pin docker actions to commit SHA (NVIDIA#2328)
login-action and setup-buildx-action used a mutable version tag while every other action in the repo is pinned to a commit SHA. Pin both, and align login-action to the same v4 SHA already used in ci-image.yml. Use the full resolved version in the trailing comment (v3.12.0) to match the more common convention used elsewhere in .github/.
1 parent 8cf2673 commit 9a4f8a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/actions/release-helm-oci/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
using: composite
3535
steps:
3636
- name: Log in to GHCR
37-
uses: docker/login-action@v3
37+
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4
3838
with:
3939
registry: ghcr.io
4040
username: ${{ github.actor }}

‎.github/actions/setup-buildx/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ runs:
2323
using: composite
2424
steps:
2525
- name: Set up Docker Buildx (local)
26-
uses: docker/setup-buildx-action@v3
26+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
2727
with:
2828
name: ${{ inputs.name }}
2929
driver: docker-container

0 commit comments

Comments
 (0)