ci: Allow workflow_dispatch runs to log in to GHCR. (#19885)
This commit is contained in:
parent
8bb007396c
commit
5903372e1a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build-base-ruby-image.yml
vendored
2
.github/workflows/build-base-ruby-image.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue