Skip to content

Commit 02d446e

Browse files
fix(ci): disable push for pull request.
Signed-off-by: Electronic-Waste <2690692950@qq.com>
1 parent 66842ba commit 02d446e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/template-publish-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ runs:
141141
platforms: ${{ inputs.platforms }}
142142
context: ${{ inputs.context }}
143143
file: ${{ inputs.dockerfile }}
144-
push: ${{ inputs.push }}
144+
push: ${{ inputs.push == 'true' }}
145145
tags: ${{ steps.meta.outputs.tags }}
146146
cache-from: type=gha,scope=${{ inputs.image }}-${{ github.workflow }}
147147
cache-to: type=gha,mode=max,scope=${{ inputs.image }}-${{ github.workflow }},ignore-error=true

0 commit comments

Comments
 (0)