build

package
v1.0.0-alpha.19 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package build packs an Agentfile and its referenced contexts and bins into an OCI artifact that can be pushed to a registry or inspected as a standalone manifest. Inherited parents are resolved transparently.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

Build creates an OCI artifact from a parsed Agentfile and pushes it into dst. Context and ADD files are read from src. The manifest is tagged with the agent name in dst. Returns the image reference with digest.

func FromFile

func FromFile(ctx context.Context, agentfilePath string, target oras.Target) (*spec.ReferenceWithDigest, error)

FromFile parses an Agentfile, resolves FROM inheritance, and builds the OCI artifact into target. Returns the image reference with digest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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