Skip to content

Commit 5d98668

Browse files
committed
chore: support building multi-platform image
1 parent 47766ba commit 5d98668

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,17 @@ jobs:
6464
username: ${{ github.actor }}
6565
password: ${{ secrets.GITHUB_TOKEN }}
6666

67+
- name: Set up QEMU
68+
uses: docker/setup-qemu-action@v3
69+
6770
- name: Set up Docker Buildx
6871
id: buildx
6972
uses: docker/setup-buildx-action@v3
7073

7174
- name: Build, tag, and push image to GitHub Container Registry
7275
uses: docker/build-push-action@v6
7376
with:
77+
platforms: linux/amd64,linux/arm64
7478
builder: ${{ steps.buildx.outputs.name }}
7579
build-args: GIT-SHA=${{ github.sha }}
7680
cache-from: type=gha,scope=cal-itp

0 commit comments

Comments
 (0)