From 5ec180f4433cddb49d338a76f95e9540288b64de Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 28 Jan 2025 13:27:58 +0100 Subject: [PATCH] add nsjail dispatch --- .github/workflows/docker-image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d0fa521db0..d7abaaedb4 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -314,7 +314,7 @@ jobs: needs: [run_integration_test, build] if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/tags/v')) + startsWith(github.ref, 'refs/tags/v')) && (github.event_name != 'workflow_dispatch') steps: - uses: actions/checkout@v4 with: @@ -334,7 +334,7 @@ jobs: runs-on: ubicloud needs: [run_integration_test, build_ee] if: - github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || + github.event_name != 'pull_request' && (github.event_name != 'workflow_dispatch') && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) steps: - uses: actions/checkout@v4 @@ -354,7 +354,7 @@ jobs: verify_ee_image_vulnerabilities: runs-on: ubicloud needs: [tag_latest_ee] - if: ${{ startsWith(github.ref, 'refs/tags/v') }} + if: ${{ startsWith(github.ref, 'refs/tags/v') }} && (github.event_name != 'workflow_dispatch') steps: - name: Checkout code uses: actions/checkout@v4