|
@ -9,10 +9,6 @@ on: |
|
|
jobs: |
|
|
jobs: |
|
|
build-latest: |
|
|
build-latest: |
|
|
runs-on: [ubuntu-latest] |
|
|
runs-on: [ubuntu-latest] |
|
|
strategy: |
|
|
|
|
|
matrix: |
|
|
|
|
|
platform: [ linux ] |
|
|
|
|
|
arch: [ amd64, arm, arm64, 386 ] |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- |
|
|
- |
|
@ -61,16 +57,12 @@ jobs: |
|
|
context: ./docker |
|
|
context: ./docker |
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
file: ./docker/Dockerfile |
|
|
file: ./docker/Dockerfile |
|
|
platforms: ${{ matrix.platform }}/${{ matrix.arch }} |
|
|
|
|
|
|
|
|
platforms: linux/amd64, linux/arm, linux/arm64, linux/386 |
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |
|
|
|
|
|
|
|
|
build-dev: |
|
|
build-dev: |
|
|
runs-on: [ubuntu-latest] |
|
|
runs-on: [ubuntu-latest] |
|
|
strategy: |
|
|
|
|
|
matrix: |
|
|
|
|
|
platform: [ linux ] |
|
|
|
|
|
arch: [ amd64, arm, arm64, 386 ] |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- |
|
|
- |
|
@ -120,6 +112,6 @@ jobs: |
|
|
context: ./docker |
|
|
context: ./docker |
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
file: ./docker/Dockerfile.go_build |
|
|
file: ./docker/Dockerfile.go_build |
|
|
platforms: ${{ matrix.platform }}/${{ matrix.arch }} |
|
|
|
|
|
|
|
|
platforms: linux/amd64, linux/arm, linux/arm64, linux/386 |
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |