Skip to content

Commit 1ff1aa4

Browse files
author
William Yang
committed
fix: always push image on push/release events
1 parent 969d028 commit 1ff1aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-cli-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
with:
7979
context: ./docker
8080
file: ./docker/Dockerfile
81-
push: ${{ inputs.push != false }}
81+
push: ${{ github.event_name != 'pull_request' && (inputs.push == true || inputs.push == null) }}
8282
tags: ${{ steps.meta.outputs.tags }}
8383
labels: ${{ steps.meta.outputs.labels }}
8484
cache-from: type=gha

0 commit comments

Comments
 (0)