fix/ci: allow login to GHCR on workflow_dispatch

This commit is contained in:
K.B.Dharun Krishna 2024-05-13 19:07:17 +05:30 committed by GitHub
parent f84d9b615e
commit 8a8391c3b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,7 +139,7 @@ jobs:
- name: Login to GitHub Package Registry - name: Login to GitHub Package Registry
uses: docker/login-action@v3 uses: docker/login-action@v3
if: ${{ github.event_name == 'push' }} if: ${{ github.event_name != 'pull_request' }}
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}