Skip to content

Commit 81852e6

Browse files
committed
Build multi-arch GHCR images
1 parent cc6e8dd commit 81852e6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777
steps:
7878
- uses: actions/checkout@v4
7979

80+
- name: Set up QEMU
81+
uses: docker/setup-qemu-action@v3
82+
8083
- name: Set up Docker Buildx
8184
uses: docker/setup-buildx-action@v3
8285

@@ -98,6 +101,7 @@ jobs:
98101
uses: docker/build-push-action@v5
99102
with:
100103
context: .
104+
platforms: linux/amd64,linux/arm64
101105
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
102106
tags: |
103107
ghcr.io/${{ github.repository }}:${{ steps.version.outputs.version }}

0 commit comments

Comments
 (0)