Skip to content

Commit 5fea3fe

Browse files
committed
gha/build: fix release condition for Docker image push
Fix `ERROR: failed to solve: non-bool value specified for push: strconv.ParseBool: parsing "draft": invalid syntax` Signed-off-by: Paweł Gronowski <[email protected]>
1 parent 4c7314a commit 5fea3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/.build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ jobs:
238238
targets: release-${{ inputs.name }}
239239
provenance: false
240240
set: |
241-
*.output=type=image,push=${{ inputs.release || github.event_name == 'schedule' }}
241+
*.output=type=image,push=${{ inputs.release != '' || github.event_name == 'schedule' }}
242242
*.output=/tmp/release
243243
-
244244
name: List release artifacts

0 commit comments

Comments
 (0)