Skip to content

publish github-builder-runtime package#1145

Merged
crazy-max merged 1 commit into
docker:mainfrom
crazy-max:publish-github-builder-runtime
May 26, 2026
Merged

publish github-builder-runtime package#1145
crazy-max merged 1 commit into
docker:mainfrom
crazy-max:publish-github-builder-runtime

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented May 26, 2026

follow-up docker/github-builder#216 (review)
closes #1144

This change updates the release workflow so each tagged release publishes both @docker/actions-toolkit and the new @docker/github-builder-runtime package: https://www.npmjs.com/package/@docker/github-builder-runtime

The publish workflow now builds the existing toolkit once, publishes @docker/actions-toolkit, and then stages a temporary npm package from the same generated lib output for @docker/github-builder-runtime. The staged runtime package rewrites only npm metadata, includes npm-shrinkwrap.json, and publishes with provenance.

This implements the runtime-package approach discussed in #1144 (comment). The intent is to keep @docker/actions-toolkit as the normal library package for Docker action repositories, while giving docker/github-builder a dedicated npm module whose dependency tree is shrinkwrapped for workflow runtime installs.

This addresses the supply-chain concern raised in docker/github-builder#216 (review). Exact npm package versions are immutable, but publishing a shrinkwrap also pins the transitive dependency resolution that consumers get when they install @docker/github-builder-runtime: https://www.npmjs.com/package/@docker/github-builder-runtime?activeTab=code

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the publish-github-builder-runtime branch from f69ffc9 to f9c471e Compare May 26, 2026 13:01
@crazy-max crazy-max requested a review from tonistiigi May 26, 2026 13:03
@crazy-max crazy-max marked this pull request as ready for review May 26, 2026 13:03
@crazy-max crazy-max merged commit c5a34ab into docker:main May 26, 2026
116 checks passed
@crazy-max crazy-max deleted the publish-github-builder-runtime branch May 26, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants