From 1ed3f5e11641189f3495518e916a97bde473080c Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Mon, 13 May 2024 19:14:51 +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 bc4cb94..9a87349 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 }}