Browse Source
Merge pull request #2291 from logband/master
fix(ci): upload all arches to Docker Hub in one job
pull/2293/head
Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
10 deletions
-
.github/workflows/container_release.yml
|
|
@ -9,10 +9,6 @@ on: |
|
|
|
jobs: |
|
|
|
build-default: |
|
|
|
runs-on: [ubuntu-latest] |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
platform: [ linux ] |
|
|
|
arch: [ amd64, arm, arm64, 386 ] |
|
|
|
|
|
|
|
steps: |
|
|
|
- |
|
|
@ -64,15 +60,11 @@ jobs: |
|
|
|
context: ./docker |
|
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
|
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 }} |
|
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |
|
|
|
build-large: |
|
|
|
runs-on: [ubuntu-latest] |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
platform: [ linux ] |
|
|
|
arch: [ amd64, arm, arm64, 386 ] |
|
|
|
|
|
|
|
steps: |
|
|
|
- |
|
|
@ -124,6 +116,6 @@ jobs: |
|
|
|
context: ./docker |
|
|
|
push: ${{ github.event_name != 'pull_request' }} |
|
|
|
file: ./docker/Dockerfile.go_build_large |
|
|
|
platforms: ${{ matrix.platform }}/${{ matrix.arch }} |
|
|
|
platforms: linux/amd64, linux/arm, linux/arm64, linux/386 |
|
|
|
tags: ${{ steps.docker_meta.outputs.tags }} |
|
|
|
labels: ${{ steps.docker_meta.outputs.labels }} |