docker

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAndPush

func BuildAndPush(dockerfileContent, platforms, image, dockerContext, imagePath, metadatafile, app, binary string, shouldPush bool) error

BuildAndPush an OCI image for the provided platforms. Setting push to true will push the images to the registries. When push is true images are not tagged with latest.

func FindMetadataFiles

func FindMetadataFiles(base string) ([]string, error)

FindMetadataFiles ...

func FullyQualifiedlImageName

func FullyQualifiedlImageName(app, binary string) string

FullyQualifiedlImageName ...

func Validate

func Validate(dockerfileContent string) error

Validate the content of a Dockerfile

Types

type AppImages

type AppImages = map[string]binaryImages

AppImages ...

func Images

func Images(imageDir string) (AppImages, error)

Images ...

type Metadata

type Metadata struct {
	App       string
	Binary    string
	ImageName string
	Tag       string
}

Metadata ...

func ParseMetadata

func ParseMetadata(filepath string) (Metadata, error)

ParseMetadata ...

Jump to

Keyboard shortcuts

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