Added support for building ARM and ARM64 based Docker images.

This commit is contained in:
Matt Scott 2023-04-12 06:26:03 -04:00
parent b60a74d764
commit 606b0ccc84
No known key found for this signature in database
GPG Key ID: A9A0AFFC0E079001

View File

@ -47,6 +47,9 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: QEMU Setup
uses: docker/setup-qemu-action@v2
- name: Docker Buildx Setup
id: buildx
uses: docker/setup-buildx-action@v1
@ -58,8 +61,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN_V2 }}
- name: Docker Image Build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64,linux/arm/v7
context: ./
file: ./docker/Dockerfile
push: true