build

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package build packages prebuilt artifacts into OCI images and indexes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ContextDir string
	File       string
	Tags       []string
	Platforms  []string
	BuildArgs  map[string]string
	Labels     map[string]string
	StoreRoot  string
	Push       bool
	Pull       bool
	SBOM       bool
	Docker     string
	Progress   func(string)
}

type Result

type Result struct {
	Tags      []string
	Platforms []v1.Platform
	Pushed    []string
	SBOMs     []string
}

func Build

func Build(ctx context.Context, opts Options) (*Result, error)

Build packages the configured context into OCI images and stores or pushes them.

Jump to

Keyboard shortcuts

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