Fix Docker arch mismatch
This commit is contained in:
10
.github/workflows/release.docker.yml
vendored
10
.github/workflows/release.docker.yml
vendored
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user