fix automation of node image building
[infra/cicd.git] / jjb / airship / job_openstack_node_image_building.yml
index 8e257ee83acabe8c38ea16f627b7f7db75a491ec..2ebcaf69b14fb39a9025cb458de121c2cd9e965d 100644 (file)
@@ -37,7 +37,7 @@
         name: KUBERNETES_VERSION
         default: "v1.22.0"
         description: 'Kubernetes version'
-  
+
     properties:
     - build-discarder:
         days-to-keep: 30
@@ -47,6 +47,7 @@
 
     triggers:
       - timed: "0 5 */15 * *"
+      - github
 
     pipeline-scm:
       scm:
@@ -60,5 +61,8 @@
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
+          included-regions:
+                - "ci/images/.*"
+                - "ci/scripts/image_scripts/.*"
       script-path: 'ci/jobs/{id}.pipeline'
       lightweight-checkout: False