Skip to content

Commit

Permalink
build(cli): Fix registry login step
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz committed Feb 7, 2024
1 parent b7d1dbd commit c7d6b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: ${{ github.event_name == 'workflow_dispatch' }}
if: ${{ !github.event.pull_request.head.repo.fork }}
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down

0 comments on commit c7d6b68

Please sign in to comment.