diff options
| author | Alexander <4584443+DragonStuff@users.noreply.github.com> | 2021-08-29 11:47:19 +0900 |
|---|---|---|
| committer | Alexander <4584443+DragonStuff@users.noreply.github.com> | 2021-08-29 11:47:19 +0900 |
| commit | 4128c1126a614873ea64beffc762856c4933d0aa (patch) | |
| tree | 27491a65f6201ecea1e5fd858cde83b095a2973f | |
| parent | 7b56a6400d12ae0f1693d0a0b2d46128544cdca4 (diff) | |
| download | seaweedfs-4128c1126a614873ea64beffc762856c4933d0aa.tar.xz seaweedfs-4128c1126a614873ea64beffc762856c4933d0aa.zip | |
fix(ci): upload all arches to Docker Hub once
| -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 }} |
