File tree Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Expand file tree Collapse file tree 4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,21 @@ The `Build` object provides a playbook on how to assemble your specific applicat
49
49
build consists of a git source, a build strategy, and an output image:
50
50
51
51
``` yaml
52
- apiVersion : build.dev/v1alpha1
52
+ apiVersion : shipwright.io/v1beta1
53
53
kind : Build
54
54
metadata :
55
55
name : kaniko-golang-build
56
- annotations :
57
- build.build.dev/build-run-deletion : " true"
58
56
spec :
59
57
source :
60
- url : https://github.com/sbose78/taxi
58
+ type : Git
59
+ git :
60
+ url : url: https://github.com/shipwright-io/sample-go
61
+ contextDir : docker-build
61
62
strategy :
62
63
name : kaniko
63
64
kind : ClusterBuildStrategy
64
65
output :
65
- image : registry.mycompany.com/my-org/taxi-app :latest
66
+ image : registry.mycompany.com/my-org/sample-image :latest
66
67
` ` `
67
68
68
69
Builds can be extended to push to private registries, use a different Dockerfile, and more.
@@ -80,7 +81,7 @@ Dockerfile within a container:
80
81
` ` ` yaml
81
82
# this is a fragment of a manifest
82
83
spec:
83
- buildSteps :
84
+ steps :
84
85
- name: build-and-push
85
86
image: gcr.io/kaniko-project/executor:v1.3.0
86
87
workingDir: /workspace/source
Original file line number Diff line number Diff line change @@ -133,12 +133,12 @@ imageText2:
133
133
" Create a `Build` that links your `BuildStrategy` and declare additional
134
134
parameters specific to the cluster or the build itself."
135
135
list :
136
- - text : Declare the output
137
- icon : publish
138
- - text : Select the build strategy
139
- icon : format_list_numbered
140
136
- text : Indicate the source code
141
137
icon : code
138
+ - text : Select the build strategy
139
+ icon : format_list_numbered
140
+ - text : Declare the output
141
+ icon : publish
142
142
ctaButton :
143
143
text : Learn more
144
144
url : docs/build/build/
You can’t perform that action at this time.
0 commit comments