Browse Source

fix(ci): add multi-arch image builds

Fixes !2282.
pull/2283/head
Alexander 3 years ago
parent
commit
29bc6cb9a2
  1. 4
      .github/workflows/container_latest.yml
  2. 4
      .github/workflows/container_release.yml

4
.github/workflows/container_latest.yml

@ -55,7 +55,7 @@ jobs:
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
file: ./docker/Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
@ -109,6 +109,6 @@ jobs:
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
file: ./docker/Dockerfile.go_build
platforms: linux/amd64
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}

4
.github/workflows/container_release.yml

@ -58,7 +58,7 @@ jobs:
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
file: ./docker/Dockerfile.go_build
platforms: linux/amd64
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
build-large:
@ -113,6 +113,6 @@ jobs:
context: ./docker
push: ${{ github.event_name != 'pull_request' }}
file: ./docker/Dockerfile.go_build_large
platforms: linux/amd64
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
Loading…
Cancel
Save