mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
trying to use buildx
This commit is contained in:
parent
29bd2dbd67
commit
45a13c1503
1 changed files with 5 additions and 1 deletions
6
.github/workflows/deploy_fastapi_backend.yml
vendored
6
.github/workflows/deploy_fastapi_backend.yml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue