Skip to content

Commit

Permalink
add nsjail dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Jan 28, 2025
1 parent 6682b3d commit f850625
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit f850625

Please sign in to comment.