Skip to content

Enhance Docker image summary with structured inspect output#98

Merged
goruha merged 13 commits intomainfrom
fix-metadata-format
Mar 19, 2026
Merged

Enhance Docker image summary with structured inspect output#98
goruha merged 13 commits intomainfrom
fix-metadata-format

Conversation

@goruha
Copy link
Member

@goruha goruha commented Mar 19, 2026

what

  • Replace raw JSON metadata dump in step summary with a rich, structured markdown summary
  • Add new summary input (default true) to control step summary generation independently from inspect
  • Add new inspect output exposing the full docker inspect JSON
  • Change metadata output to use docker/build-push-action metadata directly instead of a separate shell step
  • Remove the old Get Metadata step entirely
  • Disable inspect in test workflows (test-docker-build.yml, test-docker-build-multi-platform.yml)
  • Control DOCKER_BUILD_SUMMARY env var based on inspect and summary inputs

why

  • The previous raw JSON summary was hard to read in GitHub Actions job summaries
  • The new format surfaces key image details at a glance: size, architecture, OS, license, tag, digest, revision, source, runtime config, env vars, labels, and layers — each in collapsible sections
  • Separating summary from inspect gives users finer control over what gets generated

references

@goruha goruha added the major Breaking changes (or first stable release) label Mar 19, 2026
@goruha goruha changed the title Fix metadata format Enhance Docker image summary with structured inspect output Mar 19, 2026
@goruha goruha merged commit a260b3c into main Mar 19, 2026
18 checks passed
@goruha goruha deleted the fix-metadata-format branch March 19, 2026 23:34
@github-actions
Copy link

These changes were released in v3.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major Breaking changes (or first stable release)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants