Skip to content

Commit

Permalink
add arm平台
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinnrry authored Feb 18, 2024
1 parent dbc125d commit ef3931a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/docker_build_pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}

0 comments on commit ef3931a

Please sign in to comment.