github.com/GoogleContainerTools/skaffold/v2@v2.13.2/examples/bazel/README.md (about) 1 ### Example: bazel 2 3 [](https://ssh.cloud.google.com/cloudshell/editor?cloudshell_git_repo=https://github.com/GoogleContainerTools/skaffold&cloudshell_open_in_editor=README.md&cloudshell_workspace=examples/bazel) 4 5 Bazel is one of the supported builders in Skaffold. 6 7 The way you configure it in `skaffold.yaml` is the following build stanza: 8 9 ```yaml 10 build: 11 artifacts: 12 - image: skaffold-bazel 13 context: . 14 bazel: 15 target: //:skaffold-example.tar 16 ``` 17 18 1. make sure the `context` contains the bazel files (`WORKSPACE`, `BUILD`) 19 2. add `bazel` section to each artifact 20 3. specify `target` - our builder will use this to load to the image to the Docker daemon