Bazel is one of the supported builders in Skaffold.
The way you configure it in skaffold.yaml is the following build stanza:
build:
artifacts:
- image: skaffold-bazel
context: .
bazel:
target: //:skaffold-example.tar- make sure the
contextcontains the bazel files (WORKSPACE,BUILD) - add
bazelsection to each artifact - specify
target- our builder will use this to load to the image to the Docker daemon