Skip to content

feat(action-builder-ghcr): expose advanced caching for high-performance builds #31

@DerekRoberts

Description

@DerekRoberts

To support sub-minute rebuilds in complex Python/AI projects like Vexilon, the action-builder-ghcr composite action needs more granular caching control.

Currently, rebuilds are slow due to cache collisions and the inability to use registry-based caching.

Key Features

  • cache_scope: Add an optional input to set a scope for type=gha (e.g. scope=${{ inputs.package }}) to prevent cache collisions in multi-package repos.
  • cache_from / cache_to overrides: Allow users to specify custom caching backends like type=registry (GHCR) which can be more reliable than GHA Cache API for large images.
  • attestations toggle: Allow disabling attestations (or provenance generation) for ephemeral PR builds to save 1-2 minutes.
  • Context/Checkout optimization: Avoid redundant checkouts inside the composite action if the caller already provided the context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions