getting docker context to the root

This commit is contained in:
Khalim Conn-Kowlessar 2023-10-03 12:12:36 +01:00
parent 21645968ad
commit c4d1d074b5

View file

@ -90,13 +90,13 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: ./modules/ml-pipeline/src/pipeline
context: .
file: ./deployment/Dockerfile.prediction.lambda
push: true
tags: ${{ steps.set_ecr_credentials.outputs.ecr_uri }}:${{ github.sha }}
cache-from: type=gha
cache-to: type=gha,mode=max
platform: linux/amd64
platforms: linux/amd64
provenance: false
build-args: |
RUNTIME_ENVIRONMENT=${{ steps.set_runtime_environment.outputs.runtime_environment }}