oci

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

oci

This package is used to create and publish container images via binman build oci --repo org/repo --publishPath reg/path/tocreate:version or binman build oci --publishPath reg/path/tocreate:version for a full toolbox.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildOciImage

func BuildOciImage(bib *BinmanImageBuild) error

BuildOciImage will build an OCI compatible image

Types

type BinmanImageBuild

type BinmanImageBuild struct {
	Assets       []string // list of files that should be in the final image
	BaseImage    string   // The list of baseimages to stack and add our layer to. Nil signals the creation of a scratch image
	Name         string
	Registry     string
	ImageBinPath string // where assets will be written
	Version      string
	// contains filtered or unexported fields
}

func MakeBinmanImageBuild

func MakeBinmanImageBuild(targetImageName, imagePath, baseImage string) (BinmanImageBuild, error)

Jump to

Keyboard shortcuts

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