File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,27 @@ metadata:
30
30
arguments :
31
31
image_name : ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
32
32
tag : master
33
+ - description : ' Delegate building image to Google Cloud Build'
34
+ name : GCB
35
+ workflow :
36
+ GCBuild :
37
+ title : Building docker image
38
+ type : build
39
+ working_directory : ' ${{CLONE_STEP_NAME}}'
40
+ arguments :
41
+ image_name : ${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
42
+ tag : master
43
+ provider :
44
+ type : gcb
45
+ arguments :
46
+ google_app_creds : ' ${{G_CREDS_B64}}'
47
+ cache :
48
+ repo : " ${{CF_REPO_OWNER}}/kaniko-cache"
49
+ ttl : " 10h"
50
+ timeout : " 600s"
51
+ machineType : ' N1_HIGHCPU_8'
52
+ logsBucket : " gs://your-project_id_cloudbuild/logs"
53
+ diskSizeGb : 10
33
54
spec :
34
55
arguments : |
35
56
{
@@ -111,6 +132,10 @@ spec:
111
132
"disable_push": {
112
133
"type": "boolean",
113
134
"description": "Do not push to any registry automatically."
135
+ },
136
+ "provider": {
137
+ "type": "object",
138
+ "additionalProperties": true
114
139
}
115
140
}
116
141
}
You can’t perform that action at this time.
0 commit comments