bazel

command
v1.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

Example: bazel

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-example
    context: .
    bazel:
      target: //:skaffold_example.tar
  1. make sure the context contains the bazel files (WORKSPACE, BUILD)
  2. add bazel section to each artifact
  3. specify target - our builder will use this to load to the image to the Docker daemon

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL