bazel

command
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

Example: bazel

Open in Cloud Shell

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
  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