File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,28 @@ sources:
53
53
username : ' {{ requiredEnv "GITHUB_ACTOR" }}'
54
54
versionfilter :
55
55
kind : regex
56
- pattern : v1\.{{ source "minor" }}\.(\d*)-(\d*)$
56
+ pattern : v1\.{{ source "minor" }}\.(\d*)(-\d*)$
57
+
58
+ securityVersion :
59
+ name : Get security version
60
+ dependson :
61
+ - latestGoVersion
62
+ kind : shell
63
+ transformers :
64
+ - findsubmatch :
65
+ pattern : ' ^1.{{ source "minor" }}.\d+(-\d+)'
66
+ captureindex : 1
67
+ spec :
68
+ command : echo {{ source "latestGoVersion" }}
69
+
70
+ conditions :
71
+ is-already-updated :
72
+ name : Is security version '{{ source "securityVersion" }}' not updated in 'go/base/Dockerfile.tmpl'?
73
+ disablesourceinput : true
74
+ kind : shell
75
+ spec :
76
+ command : grep 'ARG SECURITY_VERSION={{ source `securityVersion` }}' go/base/Dockerfile.tmpl && exit 1 || exit 0
77
+ failwhen : false
57
78
58
79
targets :
59
80
update-go-versions :
You can’t perform that action at this time.
0 commit comments