Skip to content

Commit b848ae1

Browse files
committed
build: only push when its not a PR
Signed-off-by: Jared Watts <jbw976@gmail.com>
1 parent b97adf4 commit b848ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ jobs:
104104
target: image
105105
build-args:
106106
GO_VERSION=${{ env.GO_VERSION }}
107-
push: true
107+
push: ${{ github.event_name != 'pull_request' }}
108108
tags: |
109109
${{ env.IMAGE_NAME }}:${{ env.IMAGE_VERSION }}

0 commit comments

Comments
 (0)