From d2e794b25986db34c346e0fb1ea617628baa22c7 Mon Sep 17 00:00:00 2001 From: Simonas Narbutas Date: Mon, 17 Jun 2024 14:27:33 +0300 Subject: [PATCH] PM-1753 specify context for build jobs --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7e08e4a..38823b4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -66,7 +66,7 @@ jobs: - name: 🛠️ Build Web Docker Image if: steps.check-web-tag.outputs.tag == 'not found' - run: DOCKER_BUILDKIT=1 docker build -f web/Dockerfile -t ${{ env.ECR_REPOSITORY_URL}}/${{ env.ECR_REPOSITORY_NAME_WEB }}:${{ env.TAG }} . + run: DOCKER_BUILDKIT=1 docker build -t ${{ env.ECR_REPOSITORY_URL}}/${{ env.ECR_REPOSITORY_NAME_WEB }}:${{ env.TAG }} ./web - name: 🚚 Push Web Docker Image if: steps.check-web-tag.outputs.tag == 'not found' @@ -74,7 +74,7 @@ jobs: - name: 🛠️ Build API Docker Image if: steps.check-api-tag.outputs.tag == 'not found' - run: DOCKER_BUILDKIT=1 docker build -f api/Dockerfile -t ${{ env.ECR_REPOSITORY_URL}}/${{ env.ECR_REPOSITORY_NAME_API }}:${{ env.TAG }} . + run: DOCKER_BUILDKIT=1 docker build -t ${{ env.ECR_REPOSITORY_URL}}/${{ env.ECR_REPOSITORY_NAME_API }}:${{ env.TAG }} ./api - name: 🚚 Push API Docker Image if: steps.check-api-tag.outputs.tag == 'not found'