From e25059f54be4aa6557cc676d8a06025ffe6fb528 Mon Sep 17 00:00:00 2001 From: hlebkanonik Date: Mon, 2 Oct 2023 13:44:01 +0200 Subject: [PATCH] github.event.pull_request.base.ref --- .github/workflows/dockerhub-release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dockerhub-release.yaml b/.github/workflows/dockerhub-release.yaml index 127df9b298..827768c052 100644 --- a/.github/workflows/dockerhub-release.yaml +++ b/.github/workflows/dockerhub-release.yaml @@ -15,7 +15,7 @@ jobs: name: Retag and push image runs-on: ubuntu-latest environment: rc - if: github.base_ref == 'master' || github.base_ref == 'main' + if: github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main' steps: - name: Checkout uses: actions/checkout@v3