Skip to content

Commit b876c93

Browse files
authored
Push image (#9)
1 parent 313fa6d commit b876c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/container-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
images: ghcr.io/ionos-cloud/cluster-api-provider-proxmox
3333

3434
- name: Login to GitHub Container Registry
35-
# if: github.event_name != 'pull_request'
35+
if: github.event_name != 'pull_request'
3636
uses: docker/login-action@v3
3737
with:
3838
registry: ghcr.io
@@ -43,7 +43,7 @@ jobs:
4343
uses: docker/build-push-action@v5
4444
with:
4545
context: .
46-
push: true
46+
push: ${{ github.event_name != 'pull_request' }}
4747
tags: ${{ steps.meta.outputs.tags }}
4848
labels: ${{ steps.meta.outputs.labels }}
4949

0 commit comments

Comments
 (0)