Added support for building ARM and ARM64 based Docker images. (#1520)

This commit is contained in:
Matt Scott 2023-04-12 06:28:44 -04:00 committed by GitHub
commit a8c61abef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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