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 May 2, 2025: chore: 2.16 release (#9807) (7912f7ef)