diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cc87a0c..0b341d8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -21,6 +21,9 @@ jobs: matrix: config: - {name: imongr} + platform: + - linux/amd64 + - linux/arm64 name: Image shinyproxy-${{ matrix.config.name }} steps: - name: Check out the repo @@ -39,6 +42,8 @@ jobs: type=ref,event=pr type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3.0.0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3.0.0 - name: Login to DockerHub @@ -51,6 +56,7 @@ jobs: uses: docker/build-push-action@v5.0.0 with: context: ./${{ matrix.config.name }} + platforms: ${{ matrix.platform }} file: ./${{ matrix.config.name }}/Dockerfile push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.docker_meta.outputs.tags }}