Skip to content

Commit

Permalink
PM-1753 specify context for build jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
simisimis committed Jun 17, 2024
1 parent 609f721 commit d2e794b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ 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'
run: docker push ${{ env.ECR_REPOSITORY_URL}}/${{ env.ECR_REPOSITORY_NAME_WEB }}:${{ env.TAG }}

- 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'
Expand Down

0 comments on commit d2e794b

Please sign in to comment.