Skip to content

Commit bffe4ba

Browse files
committed
ci: pin GitHub Actions to SHA-256 commits
Pin all action references to specific commit SHAs to prevent supply-chain attacks. Each pin is annotated with a human-readable version tag for clarity. Versions stay within the existing major version to avoid breaking changes.
1 parent 826d7bd commit bffe4ba

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/rebuild.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1818

1919
- name: Login to GHCR
20-
uses: docker/login-action@v3
20+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
2121
with:
2222
registry: ghcr.io
2323
username: ${{ github.actor }}
2424
password: ${{ secrets.GITHUB_TOKEN }}
2525

2626
- name: Extract metadata
2727
id: meta
28-
uses: docker/metadata-action@v5
28+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
2929
with:
3030
images: ghcr.io/${{ github.repository }}
3131
tags: |
3232
type=raw,value=latest
3333
type=sha,format=short
3434
3535
- name: Build and push
36-
uses: docker/build-push-action@v6
36+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
3737
with:
3838
context: .
3939
push: true

0 commit comments

Comments
 (0)