Skip to content

Commit b276fdc

Browse files
add arm platform
1 parent e172597 commit b276fdc

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/docker.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- name: Checkout repository
2222
uses: actions/checkout@v6
2323

24+
- name: Set up QEMU
25+
uses: docker/setup-qemu-action@v3
26+
2427
- name: Set up Docker Buildx
2528
uses: docker/setup-buildx-action@v4
2629

@@ -46,8 +49,9 @@ jobs:
4649
uses: docker/build-push-action@v7
4750
with:
4851
context: .
52+
platforms: linux/amd64,linux/arm64
4953
push: ${{ github.event_name != 'pull_request' }}
5054
tags: ${{ steps.meta.outputs.tags }}
5155
labels: ${{ steps.meta.outputs.labels }}
5256
cache-from: type=gha
53-
cache-to: type=gha,mode=max
57+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)