Skip to content

Commit 3984dea

Browse files
committed
fix: correct docs typos
Signed-off-by: rxinui <[email protected]>
1 parent 041addb commit 3984dea

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.DS_Store

-6 KB
Binary file not shown.

assets/images/codye.png

34.9 KB
Loading

content/docs/introduction.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,20 +49,21 @@ The `Build` object provides a playbook on how to assemble your specific applicat
4949
build consists of a git source, a build strategy, and an output image:
5050

5151
```yaml
52-
apiVersion: build.dev/v1alpha1
52+
apiVersion: shipwright.io/v1beta1
5353
kind: Build
5454
metadata:
5555
name: kaniko-golang-build
56-
annotations:
57-
build.build.dev/build-run-deletion: "true"
5856
spec:
5957
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
6162
strategy:
6263
name: kaniko
6364
kind: ClusterBuildStrategy
6465
output:
65-
image: registry.mycompany.com/my-org/taxi-app:latest
66+
image: registry.mycompany.com/my-org/sample-image:latest
6667
```
6768
6869
Builds can be extended to push to private registries, use a different Dockerfile, and more.
@@ -80,7 +81,7 @@ Dockerfile within a container:
8081
```yaml
8182
# this is a fragment of a manifest
8283
spec:
83-
buildSteps:
84+
steps:
8485
- name: build-and-push
8586
image: gcr.io/kaniko-project/executor:v1.3.0
8687
workingDir: /workspace/source

data/landing.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ imageText2:
133133
"Create a `Build` that links your `BuildStrategy` and declare additional
134134
parameters specific to the cluster or the build itself."
135135
list:
136-
- text: Declare the output
137-
icon: publish
138-
- text: Select the build strategy
139-
icon: format_list_numbered
140136
- text: Indicate the source code
141137
icon: code
138+
- text: Select the build strategy
139+
icon: format_list_numbered
140+
- text: Declare the output
141+
icon: publish
142142
ctaButton:
143143
text: Learn more
144144
url: docs/build/build/

0 commit comments

Comments
 (0)