|
|
@ -9,6 +9,11 @@ on: |
|
|
|
jobs: |
|
|
|
build-default: |
|
|
|
runs-on: [ubuntu-latest] |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
platform: [ linux ] |
|
|
|
arch: [ amd64, arm, arm64, 386 ] |
|
|
|
|
|
|
|
steps: |
|
|
|
- |
|
|
|
name: Checkout |
|
|
@ -59,11 +64,16 @@ jobs: |
|
|
|
context: ./docker |
|
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
|
file: ./docker/Dockerfile.go_build |
|
|
|
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 |
|
|
|
platforms: ${{ matrix.platform }}/${{ matrix.arch }} |
|
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |
|
|
|
build-large: |
|
|
|
runs-on: [ubuntu-latest] |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
platform: [ linux ] |
|
|
|
arch: [ amd64, arm, arm64, 386 ] |
|
|
|
|
|
|
|
steps: |
|
|
|
- |
|
|
|
name: Checkout |
|
|
@ -114,6 +124,6 @@ jobs: |
|
|
|
context: ./docker |
|
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
|
file: ./docker/Dockerfile.go_build_large |
|
|
|
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v7,linux/arm/v6 |
|
|
|
platforms: ${{ matrix.platform }}/${{ matrix.arch }} |
|
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |