diff options
| author | Alexander <4584443+DragonStuff@users.noreply.github.com> | 2021-08-29 11:54:49 +0900 |
|---|---|---|
| committer | Alexander <4584443+DragonStuff@users.noreply.github.com> | 2021-08-29 11:54:49 +0900 |
| commit | b686e8c45bcc8b5e9dcffd4de7e95cfa0d04f6fa (patch) | |
| tree | 5b412d59aa277c4b5eb13e8e7bb84a8eba9e6aa9 | |
| parent | ab0ebe1d3b89e1cdf53471e3b43830f5cc1f01a8 (diff) | |
| download | seaweedfs-b686e8c45bcc8b5e9dcffd4de7e95cfa0d04f6fa.tar.xz seaweedfs-b686e8c45bcc8b5e9dcffd4de7e95cfa0d04f6fa.zip | |
fix(ci): update latest to only run once
| -rw-r--r-- | .github/workflows/container_latest.yml | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/.github/workflows/container_latest.yml b/.github/workflows/container_latest.yml index 6536805db..33cbf5153 100644 --- a/.github/workflows/container_latest.yml +++ b/.github/workflows/container_latest.yml @@ -8,10 +8,6 @@ on: jobs: build-latest: runs-on: [ubuntu-latest] - strategy: - matrix: - platform: [ linux ] - arch: [ amd64, arm, arm64, 386 ] steps: - @@ -60,16 +56,12 @@ jobs: context: ./docker push: ${{ github.event_name != 'pull_request' }} file: ./docker/Dockerfile - 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-dev: runs-on: [ubuntu-latest] - strategy: - matrix: - platform: [ linux ] - arch: [ amd64, arm, arm64, 386 ] steps: - @@ -119,6 +111,6 @@ 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 }} |
