tagging-with-environment-variables

command
v1.28.1 Latest Latest
Warning

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

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

README

Example: using the envTemplate tag policy

This example uses an environment variable FOO to tag the image. The way you configure it in skaffold.yaml is the following build stanza:

build:
     artifacts:
     - image: skaffold-example
     tagPolicy:
       envTemplate:
         template: "{{.FOO}}"
  1. define tagPolicy to be envTemplate
  2. use go templates syntax

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