diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-08-28 19:51:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-28 19:51:48 -0700 |
| commit | e2aaa3e2f34198522c3d4824a697f80aa81ffe77 (patch) | |
| tree | d041c13bed16bde0d4184e852729e8d8724304b9 | |
| parent | 8b7063634f5b2f9fa0a58a36260f881ee18ebd13 (diff) | |
| parent | ab0ebe1d3b89e1cdf53471e3b43830f5cc1f01a8 (diff) | |
| download | seaweedfs-e2aaa3e2f34198522c3d4824a697f80aa81ffe77.tar.xz seaweedfs-e2aaa3e2f34198522c3d4824a697f80aa81ffe77.zip | |
Merge pull request #2291 from logband/master
fix(ci): upload all arches to Docker Hub in one job
| -rw-r--r-- | .github/workflows/container_release.yml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.github/workflows/container_release.yml b/.github/workflows/container_release.yml index a0cbbbb68..22dc8632f 100644 --- a/.github/workflows/container_release.yml +++ b/.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 }} |
