Skip to content

Commit

Permalink
Add option to choose which products to build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
korbelm committed Aug 7, 2024
1 parent 15140f9 commit 21c8833
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ on:
description: Application release version e.g. 1.0.0
type: string
required: true
products_to_push:
description: Array of product names for which build will be done.
type: string
default: '["server","data-adapter","nextstep","push-server","webflow","tpp-engine"]'
required: true
push_to_acr:
description: Push to Azure registry?
type: boolean
Expand All @@ -20,12 +25,13 @@ on:
type: boolean
default: false


jobs:
build-app:
name: app image
strategy:
matrix:
app: ["server","data-adapter","nextstep","push-server","webflow","tpp-engine"]
app: ${{ fromJSON(github.event.inputs.products_to_push)}}
runs-on: 'ubuntu-latest'
environment: docker-publish
steps:
Expand Down

0 comments on commit 21c8833

Please sign in to comment.