diff --git a/.github/workflows/deploy_ecs_production_stationapi.yml b/.github/workflows/deploy_ecs_production_stationapi.yml index 289c594d..e9ec97cd 100644 --- a/.github/workflows/deploy_ecs_production_stationapi.yml +++ b/.github/workflows/deploy_ecs_production_stationapi.yml @@ -50,7 +50,7 @@ jobs: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} IMAGE_TAG: ${{ github.sha }} run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./docker/api + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./docker/api/Dockerfile . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT diff --git a/.github/workflows/deploy_ecs_staging_stationapi.yml b/.github/workflows/deploy_ecs_staging_stationapi.yml index c8f6c331..50348881 100644 --- a/.github/workflows/deploy_ecs_staging_stationapi.yml +++ b/.github/workflows/deploy_ecs_staging_stationapi.yml @@ -50,7 +50,7 @@ jobs: ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} IMAGE_TAG: ${{ github.sha }} run: | - docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG ./docker/api + docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG -f ./docker/api/Dockerfile . docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> $GITHUB_OUTPUT