fix: arm and amd arch

This commit is contained in:
Fu Zi Xiang 2023-12-27 06:25:37 +08:00
parent ec6f644935
commit 4b055d161b
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -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
@ -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