fix: arm and amd arch
This commit is contained in:
parent
ec6f644935
commit
4b055d161b
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue