Skip to content

Commit

Permalink
fix: arm and amd arch
Browse files Browse the repository at this point in the history
  • Loading branch information
speed2exe committed Dec 26, 2023
1 parent ec6f644 commit 4b055d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/push_latest_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
uses: actions/checkout@v3

- name: Set up QEMU
if: matrix.arch == 'arm64'
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
Expand All @@ -45,7 +44,7 @@ jobs:
- name: Build and Push GoTrue
run: |
export TAG=${GITHUB_REF#refs/*/}
docker buildx build --platform linux/${{ matrix.arch }} -t appflowyinc/gotrue:${TAG} -t appflowyinc/gotrue:latest -f docker/gotrue.Dockerfile --push .
docker buildx build --platform linux/amd64,linux/arm64 -t appflowyinc/gotrue:${TAG} -t appflowyinc/gotrue:latest -f docker/gotrue.Dockerfile --push .
appflowy_cloud_image:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 4b055d1

Please sign in to comment.