mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Merge pull request #2291 from logband/master
fix(ci): upload all arches to Docker Hub in one job
This commit is contained in:
commit
e2aaa3e2f3
12
.github/workflows/container_release.yml
vendored
12
.github/workflows/container_release.yml
vendored
|
@ -9,10 +9,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-default:
|
build-default:
|
||||||
runs-on: [ubuntu-latest]
|
runs-on: [ubuntu-latest]
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform: [ linux ]
|
|
||||||
arch: [ amd64, arm, arm64, 386 ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
@ -64,15 +60,11 @@ jobs:
|
||||||
context: ./docker
|
context: ./docker
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
file: ./docker/Dockerfile.go_build
|
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 }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
build-large:
|
build-large:
|
||||||
runs-on: [ubuntu-latest]
|
runs-on: [ubuntu-latest]
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
platform: [ linux ]
|
|
||||||
arch: [ amd64, arm, arm64, 386 ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
@ -124,6 +116,6 @@ jobs:
|
||||||
context: ./docker
|
context: ./docker
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
file: ./docker/Dockerfile.go_build_large
|
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 }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
|
|
Loading…
Reference in a new issue