Skip to content

Commit

Permalink
支持arm平台
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinnrry authored Feb 18, 2024
1 parent bd6392c commit 63b97ea
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ 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

- uses: actions/setup-node@v4

- name: Build FE
run: make build_fe

- name: Log in to the Container registry
uses: docker/login-action@v2.1.0
with:
Expand All @@ -41,6 +52,12 @@ jobs:
uses: docker/build-push-action@v4
with:
context: .
file: ./DockerfileGithubAction
platforms: |
linux/386
linux/amd64
linux/arm/v7
linux/arm64
push: true
tags: |
${{ env.REGISTRY }}/${{ env.REPOSITORY_LC }}:${{ env.VERSION }}
Expand Down

0 comments on commit 63b97ea

Please sign in to comment.