Repository navigation
Fix/docker docs include - #28
Merged
Merged
Conversation
pyproject.toml force-includes docs/DOCUMENTATION.md and docs/INVENTORY_REFERENCE.md into the wheel (the MCP cloudg://docs resources serve them), but the Dockerfile copied only DOCUMENTATION.md into the build context, so hatchling failed with "Forced include not found: /app/docs/INVENTORY_REFERENCE.md" and the 0.6.0 image was never pushed. Copy both. Also removes the em dashes from the Dockerfile comments.
Publishing a GitHub release still runs everything automatically: it builds the release tag, takes the version from the tag, publishes to PyPI and pushes the image as :<version> and :latest. A manual run (Actions -> Publish -> Run workflow) now takes inputs: - ref: tag, branch or commit to build - version: version to stamp and publish (default: from a vX.Y.Z ref, else pyproject.toml) - targets: all, pypi or docker - tag_latest: also tag the image :latest - extra_tags: more image tags, comma-separated So a broken image build can be redone on its own, for example ref=main, version=0.6.0, targets=docker, without touching PyPI. A plan job resolves and validates every input once (inputs reach the shell only through environment variables) and writes the plan to the run summary. The image now carries the same stamped version as the wheel. First-party actions are pinned to commit SHAs like the third-party ones, and checkouts no longer persist the git credential; zizmor reports no findings.
Contributor
Up to standards ✅🟢 Issues
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docker release fix