From acd7cfb446869fcfc5444a8a7f280f9ebc78cbec Mon Sep 17 00:00:00 2001 From: Christiaan Bloemendaal Date: Mon, 1 Jan 2024 13:38:06 +0100 Subject: [PATCH] build: fix context for workflows --- .github/workflows/publish-backend.yml | 2 +- .github/workflows/publish-frontend.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-backend.yml b/.github/workflows/publish-backend.yml index 1ccb2af..a6b7811 100644 --- a/.github/workflows/publish-backend.yml +++ b/.github/workflows/publish-backend.yml @@ -25,7 +25,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 with: - context: . + context: "{{defaultContext}}:src" file: ./src/Mangarr.Backend/Dockerfile push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/mangarr.backend:latest diff --git a/.github/workflows/publish-frontend.yml b/.github/workflows/publish-frontend.yml index 172c616..d33a8d3 100644 --- a/.github/workflows/publish-frontend.yml +++ b/.github/workflows/publish-frontend.yml @@ -25,7 +25,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v4 with: - context: . + context: "{{defaultContext}}:src" file: ./src/Mangarr.Frontend/Dockerfile push: true tags: ${{ secrets.DOCKERHUB_USERNAME }}/mangarr.frontend:latest