aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2021-08-28 20:33:16 -0700
committerGitHub <noreply@github.com>2021-08-28 20:33:16 -0700
commitcd838b1197e29fbeb204813f0f82523cc580411a (patch)
treeb6aecc46dfb8b1cfe151a6c81e60dc0b2b5995af
parentb7ec879d328a087375732e4ce9fd32fddd07f004 (diff)
parent7cfaa1a3652fc6703402cb5699ec674f14337ec8 (diff)
downloadseaweedfs-2.65.tar.xz
seaweedfs-2.65.zip
Merge pull request #2292 from logband/master2.65
fix(ci): update latest to only run once
-rw-r--r--.github/workflows/binary_test.yml1
-rw-r--r--.github/workflows/container_latest.yml12
-rw-r--r--.github/workflows/container_test.yml3
3 files changed, 3 insertions, 13 deletions
diff --git a/.github/workflows/binary_test.yml b/.github/workflows/binary_test.yml
index f1f911dc9..8468555e3 100644
--- a/.github/workflows/binary_test.yml
+++ b/.github/workflows/binary_test.yml
@@ -1,7 +1,6 @@
name: "go: test building cross-platform binary"
on:
- push:
pull_request:
workflow_dispatch: []
diff --git a/.github/workflows/container_latest.yml b/.github/workflows/container_latest.yml
index 912440966..1b952ae87 100644
--- a/.github/workflows/container_latest.yml
+++ b/.github/workflows/container_latest.yml
@@ -9,10 +9,6 @@ on:
jobs:
build-latest:
runs-on: [ubuntu-latest]
- strategy:
- matrix:
- platform: [ linux ]
- arch: [ amd64, arm, arm64, 386 ]
steps:
-
@@ -61,16 +57,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:
-
@@ -120,6 +112,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 }}
diff --git a/.github/workflows/container_test.yml b/.github/workflows/container_test.yml
index 616c3c4be..d86392af5 100644
--- a/.github/workflows/container_test.yml
+++ b/.github/workflows/container_test.yml
@@ -1,7 +1,6 @@
name: "docker: test building container images"
on:
- push:
pull_request:
workflow_dispatch: []
@@ -47,7 +46,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: ./docker
- push: ${{ github.event_name != 'pull_request' }}
+ push: false
file: ./docker/Dockerfile
platforms: ${{ matrix.platform }}/${{ matrix.arch }}
tags: ${{ steps.docker_meta.outputs.tags }}