Skip to content

Commit

Permalink
ci: Allow workflow_dispatch runs to log in to GHCR. (forem#19885)
Browse files Browse the repository at this point in the history
  • Loading branch information
klardotsh authored Aug 3, 2023
1 parent 8bb0073 commit 5903372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-base-ruby-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
if: ${{ github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && github.event_name != 'workflow_dispatch' }}
uses: docker/login-action@v2
with:
registry: ghcr.io
Expand Down

0 comments on commit 5903372

Please sign in to comment.