build

package
v0.0.0-...-25de5e2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(ctx context.Context, s spec.Spec, logger *logrus.Logger, options ExecuteOptions) (string, error)

Execute runs the build pipeline.

Types

type ExecuteOptions

type ExecuteOptions struct {
	// SHA256 digest of the spec file to apply as an annotation to the new image
	Digest string

	// Overwrite the target image if it already exists
	Force bool

	// Keep the working container (even in the event of an error)
	Keep bool

	// Ensure the creation of the `latest` tag
	Latest bool

	// Log the standard output of container processes
	LogCommands bool

	// Retrieve the image only if it's not already in local storage
	Pull bool
}

ExecuteOptions holds options for the build pipeline.

Jump to

Keyboard shortcuts

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