You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_TITLE_PREFIX="vulnerabilities found in skaffold binary"
32
+
fi
33
+
34
+
VULN_FILE=/workspace/skaffold_vuln.txt
35
+
TOKEN_FILE=token.txt
36
+
37
+
append() {
38
+
echo -e $1>>$2
39
+
}
40
+
41
+
find_issue() {
42
+
label=$1
43
+
issue=$(gh issue list --label "$label" --repo="$_REPO" --json number,title)
44
+
echo"$issue"
45
+
}
46
+
47
+
create_issue() {
48
+
title=$1
49
+
label=$2
50
+
image_tag=$3
51
+
body="Hi @GoogleContainerTools/skaffold-team,
52
+
53
+
Vulnerabilities were found in the skaffold binary or base image. Please fix the issue
54
+
with the instructions mentioned [here](https://docs.google.com/document/d/1gYJVoBCZiRzUTQs_-wKsfhHdskiMtJtWWQyI-t0mhC8/edit?resourcekey=0-NdLapTumfpzxH_bri0fLZQ#heading=h.p4mphzyz8m7y)
55
+
56
+
Thank you for your attention.
57
+
Vulnerabilities details: see [here](https://$image_tag)."
# get the latest patches tags for lts images. gcloud will return extra tags if an image has multiple tags and we only want tags specified in the filter, so use grep to further filter the result.
0 commit comments