Skip to content

feat(actions): publish and sign releases as the calling product #925

Description

@devantler

Goal

A composite action, actions/publish-app, that products call from their own release workflow. It signs as the calling workflow, so the signature names the product's own repository and release tag.

What it does

  • Builds and pushes the image, or verifies a prebuilt image in prebuilt WebApp mode; a manifests-only mode for configuration tenants.
  • Pins the image digest into the app manifest named by app-manifest (the input from feat(publish-app): let callers name the app manifest inside the deploy path #922), then pushes the whole deploy path as the manifests artifact.
  • Signs the image and the artifact keylessly, verifies both against the calling workflow's own identity, and only then exposes the version and latest tags.
  • Refuses to sign unless the run is for a v<semver> tag whose commit is on the default branch.

Not in scope

The reusable publish-app.yaml and publish-manifests.yaml stay unchanged until every consumer has moved.

Done when

  • A product can publish a signed release with the action alone.
  • Tests cover each refusal before any registry write.

Part of devantler-tech/monorepo#5046 (ADR 0017: products sign their own releases).

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions