You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/docs/pipeline-stages/builders.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -41,14 +41,14 @@ instead, which enables artifacts with [BuildKit](https://github.com/moby/buildki
41
41
After the artifacts are successfully built, Docker images will be pushed
42
42
to the remote registry. You can choose to skip this step.
43
43
44
-
### Configuration
44
+
**Configuration**
45
45
46
46
To use the local Docker daemon, add build type `local` to the `build` section
47
47
of `skaffold.yaml`. The following options can optionally be configured:
48
48
49
49
{{< schema root="LocalBuild" >}}
50
50
51
-
### Example
51
+
**Example**
52
52
53
53
The following `build` section instructs Skaffold to build a
54
54
Docker image `gcr.io/k8s-skaffold/example` with the local Docker daemon:
@@ -78,14 +78,14 @@ and will start the building process. Skaffold does not honor `.gitignore` or `.g
78
78
exclusions. If you need to ignore files use `.dockerignore`. Any `cloudbuild.yaml` found will not
79
79
be used in the build process.
80
80
81
-
### Configuration
81
+
**Configuration**
82
82
83
83
To use Cloud Build, add build type `googleCloudBuild` to the `build`
84
84
section of `skaffold.yaml`. The following options can optionally be configured:
85
85
86
86
{{< schema root="GoogleCloudBuild" >}}
87
87
88
-
### Example
88
+
**Example**
89
89
90
90
The following `build` section, instructs Skaffold to build a
91
91
Docker image `gcr.io/k8s-skaffold/example` with Google Cloud Build:
@@ -102,7 +102,7 @@ that cannot easily or securely run a Docker daemon.
102
102
Skaffold can help build artifacts in a Kubernetes cluster using the Kaniko
103
103
image; after the artifacts are built, kaniko must push them to a registry.
104
104
105
-
### Configuration
105
+
**Configuration**
106
106
107
107
To use Kaniko, add build type `kaniko` to the `build` section of
108
108
`skaffold.yaml`. The following options can optionally be configured:
@@ -139,7 +139,7 @@ build:
139
139
```
140
140
Note that the Kubernetes secret must not be of type `kubernetes.io/dockerconfigjson` which stores the config json under the key `".dockerconfigjson"`, but an opaque secret with the key `"config.json"`.
141
141
142
-
### Example
142
+
**Example**
143
143
144
144
The following `build` section, instructs Skaffold to build a
145
145
Docker image `gcr.io/k8s-skaffold/example` with Kaniko:
@@ -159,7 +159,7 @@ pushes them to the local Docker daemon or to remote registries as instructed by
159
159
160
160
Skaffold requires using Jib v1.4.0 or later.
161
161
162
-
### Configuration
162
+
**Configuration**
163
163
164
164
To use Jib, add a `jib` field to each artifact you specify in the
165
165
`artifacts`part of the `build` section. `context` should be a path to
@@ -182,7 +182,7 @@ based on the presence of standard build files in the `artifact`'s
182
182
or the Gradle wrapper script (`gradlew`, `gradlew.bat`, or
183
183
`gradlew.cmd`).
184
184
185
-
### Example
185
+
**Example**
186
186
187
187
See the [Skaffold-Jib demo project](https://github.com/GoogleContainerTools/skaffold/blob/master/examples/jib/)
188
188
for an example.
@@ -231,7 +231,7 @@ extensible build system.
231
231
Skaffold can help build artifacts using Bazel; after Bazel finishes building
232
232
container images, they will be loaded into the local Docker daemon.
233
233
234
-
### Configuration
234
+
**Configuration**
235
235
236
236
To use Bazel, `bazel` field to each artifact you specify in the
237
237
`artifacts`part of the `build` section, and use the build type `local`.
@@ -247,7 +247,7 @@ with docker load. See
247
247
{{% /alert %}}
248
248
249
249
250
-
### Example
250
+
**Example**
251
251
252
252
The following `build` section instructs Skaffold to build a
253
253
Docker image `gcr.io/k8s-skaffold/example` with Bazel:
@@ -296,7 +296,7 @@ Skaffold will pass in the following additional environment variables for the fol
296
296
| $DOCKER_CONFIG_SECRET_NAME | The secret containing any required docker authentication for custom builds on cluster.| None. |
297
297
| $TIMEOUT | The amount of time an on cluster build is allowed to run.| None. |
298
298
299
-
### Configuration
299
+
**Configuration**
300
300
301
301
To use a custom build script, add a `custom` field to each corresponding artifact in the `build` section of the skaffold.yaml.
302
302
Currently, this only works with the `local` and `cluster` build types. Supported schema for `custom` includes:
@@ -371,7 +371,7 @@ Syncable files must be included in both the `paths` section of `dependencies`, s
371
371
`STDOUT`and `STDERR` from the custom build script will be redirected and displayed within skaffold logs.
372
372
373
373
374
-
### Example
374
+
**Example**
375
375
376
376
The following `build` section instructs Skaffold to build an image `gcr.io/k8s-skaffold/example` with a custom build script `build.sh`:
Copy file name to clipboardExpand all lines: docs/content/en/docs/references/deprecation/_index.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,9 @@ Control API |alpha|Applications can control sync, build and deployment during in
68
68
[Default-repo]({{< relref "/docs/environment/image-registries.md" >}})|alpha|specify a default image repository & rewrite image names to default repo
69
69
Delete|beta |delete everything deployed by skaffold run from the cluster
70
70
[Deploy] ({{< relref "docs/pipeline-stages/deployers" >}})|beta |Deploy a set of deployables as your applications and replace the image name with the built images
0 commit comments