Skip to content

Commit

Permalink
ci(preview): context put in good place
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Aug 18, 2023
1 parent 6894a23 commit 1e78812
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/aws-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
name: Build and Push Docker Image
runs-on: ubuntu-latest
environment: production
defaults:
run:
working-directory: ./backend/core/

steps:
- name: Checkout
Expand Down Expand Up @@ -52,6 +49,7 @@ jobs:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ github.sha }}
with:
context: ./backend/core/
push: true
tags: ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:${{ env.IMAGE_TAG }}, ${{ env.ECR_REGISTRY }}/${{ env.ECR_REPOSITORY }}:latest
cache-from: type=gha
Expand Down

0 comments on commit 1e78812

Please sign in to comment.