Back to godoc.org
github.com/jenkins-x/jx / pkg / docker

package docker

v1.3.981 (5ccee8e)
Latest Go to latest
Published: Jun 25, 2020 | License: Apache-2.0 | Module: github.com/jenkins-x/jx

Index

func UpdateVersions

func UpdateVersions(dir string, newVersion string, name string) ([]string, error)

UpdateVersions scans the directory structure rooted in dir for files that match dockerfileNameRegex and replaces any lines starting with FROM <name>:, ENV <name> or ARG=<name> with the newVersion

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier