File tree 2 files changed +71
-0
lines changed
2 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : " Update build base version"
3
+
4
+ sources :
5
+ gomod :
6
+ name : Get latest Golang version based on go.mod
7
+ kind : file
8
+ spec :
9
+ file : https://raw.githubusercontent.com/kubernetes-sigs/cri-tools/master/go.mod
10
+ matchpattern : ' go ([0-9]+\.[0-9]+)'
11
+ transformers :
12
+ - trimprefix : " go "
13
+
14
+ buildbase :
15
+ name : Get build base version
16
+ kind : githubrelease
17
+ dependson :
18
+ - " gomod"
19
+ spec :
20
+ owner : rancher
21
+ repository : image-build-base
22
+ token : ' {{ requiredEnv .github.token }}'
23
+ typefilter :
24
+ release : true
25
+ draft : false
26
+ prerelease : false
27
+ versionfilter :
28
+ kind : regex
29
+ pattern : ' {{ source "gomod"}}\.\S+'
30
+
31
+ targets :
32
+ dockerfile :
33
+ name : " Bump to latest build base version in Dockerfile"
34
+ kind : dockerfile
35
+ scmid : default
36
+ sourceid : buildbase
37
+ spec :
38
+ file : Dockerfile
39
+ instruction :
40
+ keyword : ARG
41
+ matcher : " GO_IMAGE"
42
+ transformers :
43
+ - addprefix : " rancher/hardened-build-base:"
44
+
45
+ scms :
46
+ default :
47
+ kind : github
48
+ spec :
49
+ token : ' {{ requiredEnv .github.token }}'
50
+ username : ' {{ .github.username }}'
51
+ user : ' {{ .github.user }}'
52
+ email : ' {{ .github.email }}'
53
+ owner : ' {{ .github.owner }}'
54
+ repository : ' {{ .github.repository }}'
55
+ branch : ' {{ .github.branch }}'
56
+
57
+ actions :
58
+ default :
59
+ title : ' Bump build base version to {{ source "buildbase" }}'
60
+ kind : github/pullrequest
61
+ spec :
62
+ automerge : false
63
+ labels :
64
+ - chore
65
+ - skip-changelog
66
+ - status/auto-created
67
+ scmid : default
68
+
Original file line number Diff line number Diff line change 3
3
email : " 41898282+github-actions[bot]@users.noreply.github.com"
4
4
username : " UPDATECLI_GITHUB_ACTOR"
5
5
token : " UPDATECLI_GITHUB_TOKEN"
6
+ repository : " image-build-crictl"
7
+ branch : " master"
8
+ owner : " rancher"
You can’t perform that action at this time.
0 commit comments