Skip to content

Commit

Permalink
Merge pull request #26 from startersclan/enhancement/ci-specify-targe…
Browse files Browse the repository at this point in the history
…t-prod-for-docker-build-jobs

Enhancement (ci): Specify `target: prod` for docker build jobs
  • Loading branch information
leojonathanoh authored Nov 2, 2023
2 parents 5fa1215 + 50de77b commit b70976a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-master-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ jobs:
with:
file: Dockerfile.${{ matrix.variant }}
context: '.'
target: prod
platforms: linux/amd64
push: false
tags: ${{ steps.meta.outputs.tags }}
Expand All @@ -158,6 +159,7 @@ jobs:
with:
file: Dockerfile.${{ matrix.variant }}
context: '.'
target: prod
platforms: ${{ matrix.variant == 'daemon' && 'linux/amd64' || 'linux/386,linux/amd64,linux/arm64' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit b70976a

Please sign in to comment.