ci: Allow workflow_dispatch runs to push to GHCR. (#19884)
This commit is contained in:
parent
a23e1494f5
commit
0150887926
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
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
with:
|
||||
files: Containerfile.base
|
||||
- name: Do not push to GHCR if this commit does not target the main branch
|
||||
if: ${{ github.event_name != 'push' }}
|
||||
if: ${{ github.event_name != 'push' && github.event_name != 'workflow_dispatch' }}
|
||||
run: echo "SKIP_PUSH=1" >> $GITHUB_ENV
|
||||
- name: Set up QEMU for cross-compiling to ARM64
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue