diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index 8a64a45..602a66f 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -71,7 +71,7 @@ jobs: docker-ghcr-push: - if: github.event_name != 'pull_request' || github.event_name != 'workflow_dispatch' + if: ${{ github.event_name != 'workflow_dispatch' }} runs-on: ubuntu-latest needs: build permissions: @@ -112,7 +112,7 @@ jobs: dev.heplify-server.image.version=${{needs.build.outputs.HEPLIFY_VERSION || github.event.release.tag_name }} docker-hub-push: - if: github.event_name != 'pull_request' || github.event_name != 'workflow_dispatch' + if: ${{ github.event_name != 'workflow_dispatch' }} runs-on: ubuntu-latest needs: build permissions: