Skip to content

Commit 9633c41

Browse files
Pinning the docker_publish.yml actions to specific commits.
1 parent cdd81fa commit 9633c41

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/docker_publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929

3030
steps:
3131
- name: Checkout repository
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3333

3434
- name: Set up QEMU
35-
uses: docker/setup-qemu-action@v3
35+
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3
3636

3737
# Install the cosign tool except on PR
3838
# https://github.com/sigstore/cosign-installer
@@ -45,13 +45,13 @@ jobs:
4545

4646
# Workaround: https://github.com/docker/build-push-action/issues/461
4747
- name: Setup Docker buildx
48-
uses: docker/setup-buildx-action@v3
48+
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20
4949

5050
# Login against a Docker registry except on PR
5151
# https://github.com/docker/login-action
5252
- name: Log into registry ${{ env.REGISTRY }}
5353
if: github.event_name != 'pull_request'
54-
uses: docker/login-action@v3
54+
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
5555
with:
5656
registry: ${{ env.REGISTRY }}
5757
username: ${{ github.actor }}
@@ -61,15 +61,15 @@ jobs:
6161
# https://github.com/docker/metadata-action
6262
- name: Extract Docker metadata
6363
id: meta
64-
uses: docker/metadata-action@v5
64+
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
6565
with:
6666
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6767

6868
# Build and push Docker image with Buildx (don't push on PR)
6969
# https://github.com/docker/build-push-action
7070
- name: Build and push Docker image
7171
id: build-and-push
72-
uses: docker/build-push-action@v5
72+
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
7373
with:
7474
context: .
7575
push: ${{ github.event_name != 'pull_request' }}

0 commit comments

Comments
 (0)