add arm平台
This commit is contained in:
parent
dbc125d1c2
commit
ef3931ab60
15
.github/workflows/docker_build_pre.yml
vendored
15
.github/workflows/docker_build_pre.yml
vendored
@ -30,6 +30,12 @@ jobs:
|
||||
env:
|
||||
REPOSITORY: '${{ github.repository }}'
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v2.1.0
|
||||
with:
|
||||
@ -41,6 +47,15 @@ jobs:
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: .
|
||||
platforms: |
|
||||
linux/386
|
||||
linux/amd64
|
||||
linux/arm/v5
|
||||
linux/arm/v7
|
||||
linux/arm64
|
||||
linux/mips64le
|
||||
linux/ppc64le
|
||||
linux/s390x
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.REGISTRY }}/${{ env.REPOSITORY_LC }}:${{ env.VERSION }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user