Add multi-arch builds

This commit is contained in:
Logan Marchione 2022-04-16 21:36:03 -04:00
parent 264cf6a576
commit 0975574f66

View File

@ -68,6 +68,9 @@ jobs:
VER=$(cat VERSION) VER=$(cat VERSION)
echo "VERSION=$VER" >> $GITHUB_ENV echo "VERSION=$VER" >> $GITHUB_ENV
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
@ -84,6 +87,7 @@ jobs:
push: true push: true
context: . context: .
file: Dockerfile file: Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: | tags: |
${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }} ${{ env.USER }}/${{ env.REPO }}:${{ env.VERSION }}
${{ env.USER }}/${{ env.REPO }}:latest ${{ env.USER }}/${{ env.REPO }}:latest