Merge pull request #4588 from wan92hen/main

ci: push image to GHCR for pull_request event
pull/4589/head^2
John Niang 2023-09-20 03:30:19 -05:00 committed by GitHub
commit 7de97e4573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,5 +60,5 @@ jobs:
ghcr-token: ${{ secrets.GHCR_TOKEN }}
dockerhub-user: ${{ secrets.DOCKER_USERNAME }}
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
push: ${{ github.event_name == 'push' || github.event_name == 'release' }} # we only push to GHCR if the push is to the next branch
push: ${{ github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'release' }}
console-ref: ${{ github.event_name == 'release' && github.ref || 'main' }}