diff --git a/.gitea/workflows/build-push.yaml b/.gitea/workflows/build-push.yaml index 815ead7..03b583a 100644 --- a/.gitea/workflows/build-push.yaml +++ b/.gitea/workflows/build-push.yaml @@ -34,7 +34,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'nvidia' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'nvidia') runs-on: ubuntu-latest steps: - name: Checkout @@ -90,7 +90,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'rdna2' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'rdna2') runs-on: ubuntu-latest steps: - name: Checkout @@ -143,7 +143,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'strixhalo' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'strixhalo') runs-on: ubuntu-latest steps: - name: Checkout @@ -196,7 +196,7 @@ jobs: if: | !contains(github.event.head_commit.message, '[skip images]') && !contains(github.event.head_commit.message, '[ray-serve only]') && - (github.event.inputs.image == 'all' || github.event.inputs.image == 'intel' || github.event.inputs.image == '') + (github.event_name != 'workflow_dispatch' || github.event.inputs.image == 'all' || github.event.inputs.image == 'intel') runs-on: ubuntu-latest steps: - name: Checkout