mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +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
|
- name: Setup Docker
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Setup Docker Buildx
|
||||||
|
run: |
|
||||||
|
docker buildx create --use
|
||||||
|
|
||||||
- name: Build Docker Image
|
- name: Build Docker Image
|
||||||
run: |
|
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
|
- name: Login to ECR
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue