Build
Skaffold supports different tools for building images across different build environments.
Local Build | In Cluster Build | Remote on Google Cloud Build | |
---|---|---|---|
Dockerfile | Yes | Yes | Yes |
Jib Maven and Gradle | Yes | - | Yes |
Cloud Native Buildpacks | Yes | - | Yes |
Bazel | Yes | - | - |
ko | Yes | - | Yes |
Custom Script | Yes | Yes | - |
Configuration
The build
section in the Skaffold configuration file, skaffold.yaml
,
controls how artifacts are built. To use a specific tool for building
artifacts, add the value representing the tool and options for using that tool
to the build
section.
For detailed per-builder Skaffold Configuration options, see skaffold.yaml References.
Last modified July 8, 2024: docs: update changelog for v2.13.0 (#9471) (7f817f3)