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