diff --git a/.github/workflows/pr_tag_image_build_and_push.yaml b/.github/workflows/pr_tag_image_build_and_push.yaml index a417fb2c15d..a20e989e970 100644 --- a/.github/workflows/pr_tag_image_build_and_push.yaml +++ b/.github/workflows/pr_tag_image_build_and_push.yaml @@ -26,6 +26,8 @@ on: - 'cmake/**' - 'CMakeLists.txt' - 'csrc/**' + # We should also trigger image build when nightly test related files are changed to ensure the image is valid for nightly tests + - 'tests/e2e/nightly/' types: [ labeled ] push: # Publish image when tagging, the Dockerfile in tag will be build as tag image