Skip to content

[FEATURE] Support OCI registries for publishing and consuming APM packages #879

@vlsi

Description

@vlsi

Is your feature request related to a problem? Please describe.
APM distribution is currently centered around Git-based package sources and local packed artifacts. That works well for source-centric workflows, but it is a poor fit for enterprise environments that standardize on OCI registries for artifact storage, promotion, access control, and mirroring.

In particular, I would like to consume APM packages from OCI in apm.yml, either alongside or instead of current Git-based dependencies. I also want this to work without hard-coding a specific registry host into package definitions, since enterprise deployments often rely on proxies, mirrors, or internal registry indirection.

Describe the solution you'd like

Add native OCI registry support for APM packages and bundles.

Specifically, I would like:

  • a way to publish APM packages or packed bundles to OCI registries
  • a way to install or unpack APM packages directly from OCI
  • digest-pinned installs for reproducibility
  • standard OCI authentication support
  • a way to declare OCI-based dependencies in apm.yml
  • a host-agnostic way to reference OCI packages in apm.yml, so package identity can be separated from the concrete registry host

Ideally, OCI dependencies could be used side by side with existing Git dependencies, or as an alternative dependency model where appropriate.

Describe alternatives you've considered

Current alternatives are not a full replacement:

  • continuing to use Git repositories as the package source
  • using apm pack plus external CI artifact handling
  • relying on registry/proxy setups for Git/VCS access

These approaches help, but they are not equivalent to native OCI support. They do not provide a clean OCI-based dependency model in apm.yml, and they do not address the need for host-independent package references that work well with enterprise proxy and mirroring setups.

Additional context

This would be especially useful for organizations using GHCR, ACR, ECR, Harbor, Artifactory, Nexus, or similar registry infrastructure.

A key requirement from my perspective is that OCI references in apm.yml should not require hard-coding a public or environment-specific host such as ghcr.io. A logical reference, alias-based model, or config-resolved OCI source would be more suitable for enterprise use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/distributionInstallers (curl/PowerShell/Brew/Scoop), self-update, devcontainer, codespaces.area/lockfileLockfile schema, per-file provenance, integrity hashes, drift detection.help wantedExtra attention is neededstatus/needs-designDirection approved, design discussion required before code.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.type/featureNew capability, new flag, new primitive.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions