From e3787eda812c7261cce9064d32f5b0dca4150bc7 Mon Sep 17 00:00:00 2001 From: John Niang Date: Thu, 16 Nov 2023 16:11:42 +0800 Subject: [PATCH] Revert "ci: push image to GHCR for pull_request event" --- .github/workflows/halo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/halo.yaml b/.github/workflows/halo.yaml index b4304e2a03..2813bf1e75 100644 --- a/.github/workflows/halo.yaml +++ b/.github/workflows/halo.yaml @@ -72,5 +72,5 @@ jobs: ghcr-token: ${{ secrets.GHCR_TOKEN }} dockerhub-user: ${{ secrets.DOCKER_USERNAME }} dockerhub-token: ${{ secrets.DOCKER_TOKEN }} - push: ${{ github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'release' }} + push: ${{ github.event_name == 'push' || github.event_name == 'release' }} # we only push to GHCR if the push is to the next branch console-ref: ${{ github.event_name == 'release' && github.ref || 'main' }}