feat: support metadata config in docker config file#18
Draft
feat: support metadata config in docker config file#18
Conversation
- Add metadata-tags and metadata-flavor support to docker config file - Externalize config reading to shared/read-docker-config.sh - Enable manifest action to read from docker config file - Config values override action inputs when present - Add comprehensive test suite for shared script Co-Authored-By: Claude (bedrock-claude-sonnet-4-5) <noreply@anthropic.com>
a4d86ce to
41cc49b
Compare
tagoro9
reviewed
Jan 29, 2026
Member
tagoro9
left a comment
There was a problem hiding this comment.
I know it's still in draft, but it would be helpful to understand the changes if you could add a bit of context in the description as to why this is needed vs enforcing standard tags via semantic release as we are doing today
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.
Summary
Adds support for reading
metadata-tagsandmetadata-flavorfrom the docker config file, with config values overriding action inputs.Changes
shared/read-docker-config.shto centralize config file reading.docker-config.json)Config File Example
{ "imageName": "your-org/your-image", "dockerfile": "./Dockerfile", "target": "production", "metadata-tags": "type=semver,pattern={{version}}\ntype=semver,pattern={{major}}.{{minor}}", "metadata-flavor": "latest=false" }This allows centralizing Docker metadata configuration in the config file rather than duplicating it across workflows.
🤖 Generated with Claude Code