Fix API Docker image building wrong stage

Missing target: production caused the API image to build the last
Dockerfile stage (nginx-frontend) instead of the Node.js server.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
dlawler489 2026-04-22 20:22:02 +10:00
parent 1bc7daf33a
commit d00fd0f6e4

View file

@ -76,6 +76,7 @@ jobs:
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: . context: .
target: production
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}