Fix Docker arch mismatch

This commit is contained in:
Ben Johnson
2022-02-15 15:19:42 -07:00
parent fde17d0e62
commit 4027c87a02

View File

@@ -14,14 +14,8 @@ name: Release (Docker)
jobs: jobs:
docker: docker:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
include:
- platform: linux/amd64
- platform: linux/arm64
- platform: linux/arm/v7
env: env:
PLATFORMS: "${{ github.event_name == 'release' && 'linux/amd64,linux/arm64,linux/arm/v7' || 'linux/amd64,linux/arm64' }}"
VERSION: "${{ github.event_name == 'release' && github.event.release.name || github.sha }}" VERSION: "${{ github.event_name == 'release' && github.event.release.name || github.sha }}"
steps: steps:
@@ -50,7 +44,7 @@ jobs:
with: with:
context: . context: .
push: true push: true
platforms: ${{ matrix.platform }} platforms: ${{ env.PLATFORMS }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |