Skip to content

Commit 1dda693

Browse files
committed
chore: temp get the SHA
1 parent 7f6a8ae commit 1dda693

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/pull_request.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,17 @@ jobs:
2828
- name: Set up Docker Buildx
2929
uses: docker/setup-buildx-action@v3
3030

31+
- name: Get AMD64 SHA digest
32+
run: |
33+
docker pull --platform linux/amd64 node:22.1.0-alpine
34+
echo "AMD64 SHA256 Digest:"
35+
docker inspect --format='{{index .RepoDigests 0}}' node:22.1.0-alpine
36+
3137
- name: Build and push Docker image
3238
uses: docker/build-push-action@v6
3339
with:
3440
context: .
41+
platforms: linux/amd64
3542
push: false
3643
tags: |
3744
ghcr.io/bitgo/advanced-wallets:${{ github.sha }}

.github/workflows/release-to-ghcr.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ jobs:
142142
- name: Set up Docker Buildx
143143
uses: docker/setup-buildx-action@v3
144144

145+
- name: Get AMD64 SHA digest
146+
run: |
147+
docker pull --platform linux/amd64 node:22.1.0-alpine
148+
echo "AMD64 SHA256 Digest:"
149+
docker inspect --format='{{index .RepoDigests 0}}' node:22.1.0-alpine
150+
145151
- name: Login to GitHub Container Registry
146152
uses: docker/login-action@v3
147153
with:

0 commit comments

Comments
 (0)