File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -95,13 +95,23 @@ jobs:
9595 with :
9696 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
9797 - name : Build and push Docker image
98+ if : github.event_name != 'pull_request'
9899 id : push
99100 uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
100101 with :
101102 context : UnicodeJsps/
102103 push : true
103104 tags : ${{ steps.meta.outputs.tags }}
104105 labels : ${{ steps.meta.outputs.labels }}
106+ - name : Build and Docker image (PR)
107+ if : github.event_name == 'pull_request'
108+ id : builddocker
109+ uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
110+ with :
111+ context : UnicodeJsps/
112+ push : false
113+ tags : ${{ steps.meta.outputs.tags }}
114+ labels : ${{ steps.meta.outputs.labels }}
105115 - name : Generate artifact attestation
106116 if : github.event_name != 'pull_request'
107117 uses : actions/attest-build-provenance@v2
You can’t perform that action at this time.
0 commit comments