Skip to content

Commit 3769c50

Browse files
committed
fix: changed to shas for github actions for better security
1 parent 8a253c6 commit 3769c50

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
attestations: write
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
2929

3030
- name: Docker meta
3131
id: meta
32-
uses: docker/metadata-action@v5
32+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 #v5.7.0
3333
with:
3434
# list of Docker images to use as base name for tags
3535
images: |
@@ -46,20 +46,20 @@ jobs:
4646
4747
- name: Login to Docker Registry
4848
if: github.event_name != 'pull_request'
49-
uses: docker/login-action@v3
49+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 #v3.4.0
5050
with:
5151
registry: ghcr.io
5252
username: ${{ github.repository_owner }}
5353
password: ${{ secrets.GITHUB_TOKEN }}
5454

5555
- name: Set up QEMU
56-
uses: docker/setup-qemu-action@v3
56+
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 #v3.6.0
5757

5858
- name: Set up Docker Buildx
59-
uses: docker/setup-buildx-action@v3
59+
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 #v3.10.0
6060

6161
- name: Build and push
62-
uses: docker/build-push-action@v6
62+
uses: docker/build-push-action@14487ce63c7a62a4a324b0bfb37086795e31c6c1 #v6.16.0
6363
with:
6464
context: .
6565
platforms: linux/amd64,linux/arm64

0 commit comments

Comments
 (0)