Skip to content

Commit 6c54666

Browse files
committed
GithubActions: keep the hashes instead of using just the versions.
Signed-off-by: Kirill <[email protected]>
1 parent 2e569cd commit 6c54666

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-publish-image.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
plugin: ${{ fromJson(needs.setup_matrix.outputs.matrix) }}
5353
steps:
5454
- name: Checkout code
55-
uses: actions/checkout@v4
55+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.1
5656

5757
- name: Verify plugin exists
5858
run: |
@@ -80,22 +80,22 @@ jobs:
8080
echo "FULL_IMAGE_NAME=${{ env.REGISTRY }}/${{ env.ORG }}/headlamp-plugin-${{ matrix.plugin }}" >> $GITHUB_ENV
8181
8282
- name: Setup Docker Buildx
83-
uses: docker/setup-buildx-action@v3
83+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
8484

8585
- name: Set up QEMU
86-
uses: docker/setup-qemu-action@v3
86+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
8787
with:
8888
platforms: ${{ env.ARCHITECTURES }}
8989

9090
- name: Log in to the Container registry
91-
uses: docker/login-action@v3
91+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
9292
with:
9393
registry: ${{ env.REGISTRY }}
9494
username: ${{ github.actor }}
9595
password: ${{ github.token }}
9696

9797
- name: Build and push Docker image
98-
uses: docker/build-push-action@v6
98+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
9999
with:
100100
context: .
101101
push: true

0 commit comments

Comments
 (0)