Skip to content
This repository was archived by the owner on Sep 12, 2023. It is now read-only.

Commit 37b3cf1

Browse files
authored
✨ Build image for multiple architectures (#11)
1 parent c293faf commit 37b3cf1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
username: ${{ github.repository_owner }}
2121
password: ${{ secrets.GHCR_PAT }}
2222
- uses: docker/setup-buildx-action@v1
23+
- uses: docker/setup-qemu-action@v1
2324
- name: Cache Docker layers
2425
uses: actions/cache@v2
2526
with:
@@ -35,6 +36,7 @@ jobs:
3536
with:
3637
cache-from: type=local,src=/tmp/.buildx-cache
3738
cache-to: type=local,dest=/tmp/.buildx-cache
39+
platforms: linux/amd64,linux/arm64
3840
build-args: PHP=${{ matrix.php }}
3941
push: true
4042
tags: ghcr.io/${{ github.repository }}:${{ steps.push.outputs.sha }}

0 commit comments

Comments
 (0)