Skip to content

Commit

Permalink
refactor Docker build and push actions in production workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhaerter committed Sep 26, 2023
1 parent 0187f04 commit 58c49a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/production-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58c49a9

Please sign in to comment.