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 April 2, 2024: release: v2.11.0 (#9376) (5431c6b)