Browse Source
Merge pull request #2292 from logband/master
fix(ci): update latest to only run once
pull/2321/head
2.65
Chris Lu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
3 additions and
13 deletions
-
.github/workflows/binary_test.yml
-
.github/workflows/container_latest.yml
-
.github/workflows/container_test.yml
|
|
@ -1,7 +1,6 @@ |
|
|
|
name: "go: test building cross-platform binary" |
|
|
|
|
|
|
|
on: |
|
|
|
push: |
|
|
|
pull_request: |
|
|
|
workflow_dispatch: [] |
|
|
|
|
|
|
|
|
|
@ -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 }} |
|
|
@ -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 }} |
|
|
|