Skip to content

Commit d421f84

Browse files
committed
ci: specify target
1 parent ba54df7 commit d421f84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/manual-push-dockerhub.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: "The release version tag to build and push (e.g., 1.2.3)"
88
required: true
99
type: string
10+
target_to_build:
11+
description: "The specific target to build (e.g., base, sdxl, sd3, flux1-schnell, flux1-dev)"
12+
required: true
13+
type: string
1014

1115
jobs:
1216
manual_push:
@@ -48,6 +52,7 @@ jobs:
4852
uses: docker/bake-action@v2
4953
with:
5054
push: true
55+
targets: ${{ github.event.inputs.target_to_build }}
5156
set: |
5257
*.args.DOCKERHUB_REPO=${{ env.DOCKERHUB_REPO }}
5358
*.args.DOCKERHUB_IMG=${{ env.DOCKERHUB_IMG }}

0 commit comments

Comments
 (0)