Skip to content

Commit eeea34f

Browse files
Update github workflows to use action SHAs (#79)
Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
1 parent 1349992 commit eeea34f

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,24 @@ jobs:
2020
needs: [build]
2121
steps:
2222
- name: Login to GitHub container registry
23-
uses: docker/login-action@v3
23+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
2424
with:
2525
registry: ghcr.io
2626
username: ${{ github.actor }}
2727
password: ${{ secrets.GITHUB_TOKEN }}
2828
- name: Set up QEMU
29-
uses: docker/setup-qemu-action@v3
29+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
3030
- name: Set up docker-buildx
31-
uses: docker/setup-buildx-action@v3
31+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3232
- name: Build image to tar
33-
uses: docker/build-push-action@v6
33+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
3434
with:
3535
platforms: linux/arm64
3636
push: false
3737
tags: ghcr.io/apple/container-builder-shim/builder:test
3838
outputs: type=oci,dest=container-builder-shim.tar
3939
- name: Save artifacts
40-
uses: actions/upload-artifact@v4
40+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4141
with:
4242
name: container-builder-shim
4343
path: container-builder-shim.tar

.github/workflows/common.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: [self-hosted, macos, tahoe, ARM64]
1212
timeout-minutes: 30
1313
steps:
14-
- uses: actions/setup-go@v5
14+
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
1515
with:
1616
go-version: '1.25.5'
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1919
with:
2020
fetch-depth: 0
2121
- name: Check formatting

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
packages: write
2323
steps:
2424
- name: Login to GitHub container registry
25-
uses: docker/login-action@v3
25+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
2626
with:
2727
registry: ghcr.io
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030
- name: Set up QEMU
31-
uses: docker/setup-qemu-action@v3
31+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
3232
- name: Set up docker-buildx
33-
uses: docker/setup-buildx-action@v3
33+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
3434
- name: Build Dockerfile and push image
35-
uses: docker/build-push-action@v6
35+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
3636
with:
3737
platforms: linux/arm64
3838
push: true

0 commit comments

Comments
 (0)