ci(preview): fix context

This commit is contained in:
Stan Girard 2023-08-18 16:01:00 +02:00
parent 8b5cef4dfc
commit 19d41cf54e

View File

@ -19,7 +19,7 @@ jobs:
environment: production
defaults:
run:
working-directory: ./backend/
working-directory: ./backend/core/
steps:
- name: Checkout
@ -51,7 +51,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
with:
context: ./core/
context: .
push: true
tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}, ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest
cache-from: type=gha