Skip to content

Commit 5525eba

Browse files
committed
fix(ci): do not push images when building PRs
Signed-off-by: Ettore Di Giacinto <[email protected]>
1 parent a7a76cb commit 5525eba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/image_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
password: ${{ secrets.dockerPassword }}
224224

225225
- name: Login to DockerHub
226-
# if: github.event_name != 'pull_request'
226+
if: github.event_name != 'pull_request'
227227
uses: docker/login-action@v3
228228
with:
229229
registry: quay.io
@@ -282,7 +282,7 @@ jobs:
282282
file: ./Dockerfile
283283
cache-from: type=gha
284284
platforms: ${{ inputs.platforms }}
285-
push: true
285+
#push: true
286286
tags: ${{ steps.meta_pull_request.outputs.tags }}
287287
labels: ${{ steps.meta_pull_request.outputs.labels }}
288288
## End testing image

0 commit comments

Comments
 (0)