File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -64,4 +64,3 @@ actions:
6464 spec :
6565 labels :
6666 - dependencies
67- - Dockerfile
Original file line number Diff line number Diff line change 1+ ---
2+ name : Bump zot test container
3+
4+ scms :
5+ default :
6+ kind : github
7+ spec :
8+ user : " {{ .github.user }}"
9+ email : " {{ .github.email }}"
10+ owner : " {{ .github.owner }}"
11+ repository : " {{ .github.repository }}"
12+ token : " {{ requiredEnv .github.token }}"
13+ username : " {{ .github.username }}"
14+ branch : " {{ .github.branch }}"
15+
16+ sources :
17+ zotLatestVersion :
18+ kind : githubrelease
19+ spec :
20+ owner : project-zot
21+ repository : zot
22+ token : " {{ requiredEnv .github.token }}"
23+ username : " {{ .github.username }}"
24+ versioning :
25+ kind : semver
26+
27+ conditions :
28+ zotImageExists :
29+ name : zot image must exists
30+ kind : dockerimage
31+ spec :
32+ image : ghcr.io/project-zot/zot-linux-amd64
33+
34+ targets :
35+ updateZotContainer :
36+ name : " Update the value in the ZotContainer.java file"
37+ kind : file
38+ sourceid : zotLatestVersion
39+ spec :
40+ file : src/test/java/land/oras/utils/ZotContainer.java
41+ matchPattern : " ghcr.io/project-zot/zot-linux-amd64:v(\\ d.\\ d.\\ d{1,2})"
42+ replacePattern : ' ghcr.io/project-zot/zot-linux-amd64:{{ source "zotLatestVersion" }}'
43+ scmid : default
44+
45+ actions :
46+ default :
47+ kind : github/pullrequest
48+ scmid : default
49+ title : ' Bump zot {{ source "zotLatestVersion" }}'
50+ spec :
51+ labels :
52+ - dependencies
You can’t perform that action at this time.
0 commit comments