From 6c14ae65a54e6bda62fcc24c760c25b0c7b727f8 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Mon, 13 May 2024 19:14:01 +0530 Subject: [PATCH] fix/ci: allow login to GHCR on workflow_dispatch --- .github/workflows/image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 2c3b258..afae27c 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -54,7 +54,7 @@ jobs: - name: Login to GitHub Package Registry uses: docker/login-action@v3 - if: ${{ github.event_name == 'push' }} + if: ${{ github.event_name != 'pull_request' }} with: registry: ghcr.io username: ${{ github.repository_owner }}