From 37609be1a70c73f5cae63e05e1aabfc13076da45 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Mon, 13 May 2024 19:03:50 +0530 Subject: [PATCH] fix/ci: allow login to GHCR on workflow_dispatch --- .github/workflows/vib-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vib-build.yml b/.github/workflows/vib-build.yml index c1f5e61..5315a75 100644 --- a/.github/workflows/vib-build.yml +++ b/.github/workflows/vib-build.yml @@ -55,7 +55,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 }}