From c8a2f8fee0d02bbba45ea4dad7f97f2c56da9e9f Mon Sep 17 00:00:00 2001 From: Alexander Petric Date: Tue, 22 Oct 2024 11:18:14 -0400 Subject: [PATCH] update docker build on comment (#4567) * adding github workflow build triggers on comment * fix conditions * revert formating * simplify * event_name fix * build ee on nsjail as well --- .github/workflows/docker-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1704472b3a..70a24f0e4b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -28,7 +28,7 @@ permissions: write-all jobs: build: runs-on: ubicloud - if: (github.event_name != 'issue_comment') || (contains(github.event.comment.body, '/buildimage') || contains(github.event.comment.body, '/buildimage_all')) + if: (github.event_name != 'issue_comment') || (contains(github.event.comment.body, '/buildimage_all') || contains(github.event.comment.body, '/buildimage_base')) steps: - uses: actions/checkout@v4 with: @@ -90,7 +90,7 @@ jobs: build_ee: runs-on: ubicloud - if: (github.event_name != 'issue_comment') || (contains(github.event.comment.body, '/buildimage_ee') || contains(github.event.comment.body, '/buildimage_all')) + if: (github.event_name != 'issue_comment') || (contains(github.event.comment.body, '/buildimage_ee') || contains(github.event.comment.body, '/buildimage_nsjail')) || contains(github.event.comment.body, '/buildimage_all') steps: - uses: actions/checkout@v4 with: