docker

package
v0.0.0-...-1c92e5d Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndPushImage

func BuildAndPushImage(ctx context.Context, logger *logrus.Logger, req *Request) (digest string, err error)

BuildAndPushImage builds a docker image using the default Dockerfile and pushes it to the partner registry. It returns the registry SHA256 digest of the pushed image.

Types

type Request

type Request struct {
	RepoRoot         string
	BinaryPath       string
	Registry         string
	RegistryUser     string
	RegistryPassword string
	Name             string
	GitSHA           string
	Tag              string
}

Request is the input to BuildAndPushImage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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