From 27972d730eb95b34ee7f55bf16dfd97ac16359a5 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Mon, 13 May 2024 19:10:39 +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 33dd179..60605c7 100644 --- a/.github/workflows/vib-build.yml +++ b/.github/workflows/vib-build.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 }}