ci: Allow workflow_dispatch runs to push to GHCR. (#19884)

This commit is contained in:
Josh Klar 2023-08-02 14:36:40 -07:00 committed by GitHub
parent a23e1494f5
commit 0150887926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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