diff --git a/vars/podTemplates.groovy b/vars/podTemplates.groovy index 6f15fd9..fe453e4 100644 --- a/vars/podTemplates.groovy +++ b/vars/podTemplates.groovy @@ -17,7 +17,7 @@ metadata: spec: containers: """ - if requiredContainers['kaniko'] == true { + if (requiredContainers['kaniko'] == true) { output += """ - name: kaniko imagePullPolicy: Always @@ -27,7 +27,7 @@ spec: - /busybox/sh """ } - if requiredContainer['alpine'] == true { + if (requiredContainer['alpine'] == true) { output += """ - name: alpine imagePullPolicy: Always