Added load to dockerx build

This commit is contained in:
Khalim Conn-Kowlessar 2023-08-31 18:16:31 +01:00
parent 0d5b76b3a5
commit 03f4b87e24

View file

@ -66,7 +66,7 @@ jobs:
run: |
cd model_data/simulation_system
docker buildx create --use
docker buildx build --cache-from=type=local,src=/tmp/.buildx-cache --cache-to=type=local,dest=/tmp/.buildx-cache --build-arg BUILDKIT_INLINE_CACHE=1 --tag lambda-sap-prediction-image:${{ github.sha }} -f Dockerfiles/Dockerfile.prediction.lambda .
docker buildx build --load --cache-from=type=local,src=/tmp/.buildx-cache --cache-to=type=local,dest=/tmp/.buildx-cache --build-arg BUILDKIT_INLINE_CACHE=1 --tag lambda-sap-prediction-image:${{ github.sha }} -f Dockerfiles/Dockerfile.prediction.lambda .
- name: Login to ECR
run: |