From f8506259adf0dacc006fb3f28d5b2eb68a9d1a92 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 28 Jan 2025 13:13:12 +0100 Subject: [PATCH] add nsjail dispatch --- .github/workflows/docker-image.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index e3718487245c4..d0fa521db0b6b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -26,7 +26,11 @@ on: description: "Tag the image" required: true default: "test" - + nsjail: + description: "Build nsjail image (true, false)" + required: false + default: false + type: boolean concurrency: group: ${{ github.ref }} cancel-in-progress: true @@ -100,7 +104,7 @@ jobs: build_ee: runs-on: ubicloud - if: (github.event_name != 'workflow_dispatch') || (github.event.inputs.ee) + if: (github.event_name != 'workflow_dispatch') || (github.event.inputs.ee || github.event.inputs.nsjail) steps: - uses: actions/checkout@v4 with: @@ -393,8 +397,8 @@ jobs: needs: [build_ee] runs-on: ubicloud if: - (github.event_name != 'pull_request') && (github.event_name != - 'workflow_dispatch') + (github.event_name != 'pull_request') && ((github.event_name != 'workflow_dispatch') || (github.event.inputs.ee || github.event.inputs.nsjail)) + steps: - uses: actions/checkout@v4 with: