Skip to content

Commit

Permalink
Add production target to Docker build action
Browse files Browse the repository at this point in the history
This commit updates the Docker publish workflow by specifying the 'production' target for the build-push action. This change ensures that the production configuration is used during the Docker build process.
  • Loading branch information
manu committed Aug 22, 2024
1 parent a834763 commit 3fca374
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-publish-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: ./server-demo
target: production
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 3fca374

Please sign in to comment.