From 58c49a9d029750cfeb37b97a7080fdaff9ab6cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20H=C3=A4rter?= Date: Tue, 26 Sep 2023 19:21:03 +0200 Subject: [PATCH] refactor Docker build and push actions in production workflows --- .github/workflows/production-backend.yaml | 2 +- .github/workflows/production-frontend.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production-backend.yaml b/.github/workflows/production-backend.yaml index 171a1ba..03265ba 100644 --- a/.github/workflows/production-backend.yaml +++ b/.github/workflows/production-backend.yaml @@ -34,7 +34,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v3 with: - context: backend + context: "{{defaultContext}}:backend" file: Dockerfile build-args: | push: true # ${{ github.ref_type == 'tag' }} diff --git a/.github/workflows/production-frontend.yaml b/.github/workflows/production-frontend.yaml index 61676a6..96f2206 100644 --- a/.github/workflows/production-frontend.yaml +++ b/.github/workflows/production-frontend.yaml @@ -34,7 +34,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v3 with: - context: frontend + context: "{{defaultContext}}:frontend" file: Dockerfile build-args: | VITE_API_URL=https://api.momentso.com/graphql