@imp/rules/oci

Module: @imp/rules/oci.

crane_toolchain(version, options)

Declare crane. Options: default, lockfile, and unverified. Return version, lockfile, and a GEN_LOCKFILES root.

Source: rules/oci/toolchain/index.luau:67.

default_version

Documentation is not yet available for this implementation export.

Source: rules/oci/toolchain/index.luau:123.

oci_build(options)

Build a single linux/amd64 image from a base image or "scratch". Options: path, source_base, layers, entrypoint, cmd, env, labels, user, and workdir. Each layer has srcs, path, and optional exclude/mode/uid/gid.

Source: rules/oci/index.luau:329.

oci_mirror(options)

Copy a registry image from { repo, tag|digest } to { repo, tag }. The copy is uncached and exposes only a PUBLISH root.

Source: rules/oci/index.luau:424.

oci_pull(options)

Declare a pull by repo and exactly one of tag or digest. Tags resolve without a cache; the resolved digest selects the layout.

Source: rules/oci/index.luau:223.

oci_push(options)

Publish an image to repo:tag. Only the PUBLISH workflow selects it.

Source: rules/oci/index.luau:403.

resolve_version

Documentation is not yet available for this implementation export.

Source: rules/oci/toolchain/index.luau:124.