File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change 17
17
18
18
set -xeo pipefail
19
19
# Variables that will be substituted by trigger configuration or valued provided through command line with --substitutions flag.
20
- if [ -z " $_TAG_FILTER " ]; then
21
- _TAG_FILTER=" v.*-lts|^edge$"
22
- fi
23
20
if [ -z " $_BASE_IMAGE " ] ; then
24
21
_BASE_IMAGE=" us-east1-docker.pkg.dev/k8s-skaffold/scanning/skaffold"
25
22
fi
@@ -40,7 +37,7 @@ check_vulnerability(){
40
37
# We should only scan lts images within 1 year window from the first patch of the release.
41
38
targeted_base_tags=" $( gcloud container images list-tags " $base_image " --filter=" timestamp.datetime > -P1Y AND tags~v.*\.1-lts" --format=' value(tags)' ) "
42
39
for line in $targeted_base_tags ; do
43
- IFS=' , ' read -ra t <<< " ${line}"
40
+ IFS=" , " read -ra t <<< " ${line}"
44
41
replacement=" \."
45
42
t[0]=" ${t[0]// ./ $replacement } "
46
43
tags_filter+=" ${t[0]/ 1-lts/ .* -lts} |"
You can’t perform that action at this time.
0 commit comments