Versions in this module Expand all Collapse all v0 v0.4.1 Mar 27, 2026 v0.4.0 Mar 22, 2026 Changes in this version + func CleanupCrucibleImages(ctx context.Context, tags ...string) error + func CosignAttest(ctx context.Context, digestRef, predicatePath, keyPath string) error + func CosignAvailable() bool + func CosignSign(ctx context.Context, digestRef, keyPath string, multiArch bool) error + func CrucibleTag(purpose, runID string) string + func ImageBinaryHash(ctx context.Context, image string) (string, error) + func ImageDigest(ctx context.Context, image string) (string, error) + func ImageEnvFingerprint(ctx context.Context, image string) (string, error) + func ImageLabel(ctx context.Context, image, label string) (string, error) + func ImageVersion(ctx context.Context, image string) (string, error) + func IsMultiPlatform(step build.BuildStep) bool + func ParseBuildxOutput(output string) []build.LayerEvent + func ParseMetadataDigest(metadataFile string) (string, error) + func ResolveCosignKey() string + func ResolveDigest(ctx context.Context, ref string) (string, error) + func ResolveLocalDigest(ctx context.Context, ref string) (string, error) + func Run(req Request) error + type ArgDecl struct + Default string + Line string + Name string + type Buildx struct + Stderr io.Writer + Stdout io.Writer + Verbose bool + func NewBuildx(verbose bool) *Buildx + func (bx *Buildx) Build(ctx context.Context, step build.BuildStep) (*build.StepResult, error) + func (bx *Buildx) BuildWithLayers(ctx context.Context, step build.BuildStep) (*build.StepResult, []build.LayerEvent, error) + func (bx *Buildx) EnsureBuilder(ctx context.Context) error + func (bx *Buildx) Login(ctx context.Context, registries []build.RegistryTarget) error + func (bx *Buildx) PushTags(ctx context.Context, tags []string) (int, error) + func (bx *Buildx) Save(ctx context.Context, imageRef string, outputPath string) error + type CrucibleCheck struct + Detail string + Name string + Status string + func (c CrucibleCheck) IsHardFailure() bool + type CrucibleOpts struct + EnvVars []string + ExtraFlags []string + FinalTag string + Image string + RepoDir string + RunID string + Verbose bool + type CrucibleResult struct + ExitCode int + FinalImageRef string + Passed bool + func RunCrucible(ctx context.Context, opts CrucibleOpts) (*CrucibleResult, error) + type CrucibleVerification struct + ArtifactChecks []CrucibleCheck + ExecutionChecks []CrucibleCheck + TrustLevel string + func VerifyCrucible(ctx context.Context, pass1Image, pass2Image string) (*CrucibleVerification, error) + func (cv *CrucibleVerification) HasHardFailure() bool + type InventoryResult struct + Args []ArgDecl + BaseImages []PackageInfo + Lineage []PackageInfo + Packages []PackageInfo + func ExtractInventory(dockerfilePath string) (*InventoryResult, error) + type PackageInfo struct + Confidence string + Final bool + Manager string + Name string + Pinned bool + Source string + SourceRef string + Stage string + URL string + Version string + type PushError struct + Cause error + ExitCode int + Stderr string + Tag string + func (e *PushError) Error() string + func (e *PushError) Unwrap() error + type Request struct + BuildID string + BuildMode string + Config *config.Config + ConfigFile string + Context context.Context + DryRun bool + Local bool + Platforms []string + RootDir string + SkipLint bool + Stderr io.Writer + Stdout io.Writer + Tags []string + Target string + Verbose bool + type VerificationArtifact struct + Tag string + func (va VerificationArtifact) AppendFlags() []string