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

✨ Build image for multiple architectures #11

Merged
merged 2 commits into from
Apr 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
- uses: docker/setup-buildx-action@v1
- uses: docker/setup-qemu-action@v1
- name: Cache Docker layers
uses: actions/cache@v2
with:
Expand All @@ -35,6 +36,7 @@ jobs:
with:
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
platforms: linux/amd64,linux/arm64
build-args: PHP=${{ matrix.php }}
push: true
tags: ghcr.io/${{ github.repository }}:${{ steps.push.outputs.sha }}
Expand Down