diff --git a/.github/workflows/deploy_fastapi_backend.yml b/.github/workflows/deploy_fastapi_backend.yml index 3e9defb3..a3691f98 100644 --- a/.github/workflows/deploy_fastapi_backend.yml +++ b/.github/workflows/deploy_fastapi_backend.yml @@ -66,9 +66,13 @@ jobs: - name: Setup Docker uses: docker/setup-buildx-action@v1 + - name: Setup Docker Buildx + run: | + docker buildx create --use + - name: Build Docker Image run: | - docker build --platform linux/arm64 -t fastapi-lambda-image:${{ github.sha }} -f backend/docker/lambda.Dockerfile . + docker buildx build --platform linux/arm64 -t fastapi-lambda-image:${{ github.sha }} -f backend/docker/lambda.Dockerfile . --load - name: Login to ECR run: |