Skip to content

Commit

Permalink
Merge pull request #4588 from wan92hen/main
Browse files Browse the repository at this point in the history
ci: push image to GHCR for pull_request event
  • Loading branch information
JohnNiang committed Sep 20, 2023
2 parents 84f413d + 32d2def commit 7de97e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/halo.yaml
Expand Up @@ -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' }}

0 comments on commit 7de97e4

Please sign in to comment.