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 November 19, 2024: chore: upgrade buildpacks (and transitive dependencies) (#9572) (da51500)