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 October 27, 2025: chore: bump actions/upload-artifact from 4 to 5 in the github-actions group (#9897) (246c69f0)