From 680d91d547b6c1737bd42c32ab1f7d301a308b69 Mon Sep 17 00:00:00 2001 From: Mohamed Chiheb Ben Jemaa Date: Wed, 29 Nov 2023 15:45:22 +0100 Subject: [PATCH] Push image --- .github/workflows/container-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container-image.yaml b/.github/workflows/container-image.yaml index 3760f36d..fa5ab0a8 100644 --- a/.github/workflows/container-image.yaml +++ b/.github/workflows/container-image.yaml @@ -32,7 +32,7 @@ jobs: images: ghcr.io/ionos-cloud/cluster-api-provider-proxmox - name: Login to GitHub Container Registry -# if: github.event_name != 'pull_request' + if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: registry: ghcr.io @@ -43,7 +43,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . - push: true + push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}