maxymvlasov/Dive Action v2

Run Dive to analyze the container image efficiency

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
imageImage to analyzeyes
always-commentPost dive analysis results as PR comment regardless of whether any inefficiencies were found. By default, comments are only posted when issues are detected. Requires `github-token`nofalse
collapse-inefficient-files-detailsCollapse the inefficient files table in PR comments using details/summary tagsnotrue
github-tokenGitHub token to post PR comment with dive analysisno
dive-image-registryDocker registry to pull the Dive image fromnoghcr.io/wagoodman/dive
dive-image-versionVersion of the Dive docker image to use. While `latest` is supported, using a specific version with SHA is recommended for security and reproducibilitynov0.13.1@sha256:f1886e6c32c094fc41a623c1989f5cb3e48aa766da5f0be233f911fc1d85ce10
config-filePath to the Dive configuration file. If not provided, default Dive settings will be used. Individual parameters `min-image-efficiency`, `max-wasted-ratio`, and `max-wasted-bytes` can override settings specified in `config-file`.no${{ github.workspace }}/.dive.yaml
highest-wasted-bytesThreshold for the maximum allowed bytes wasted expressed in B, KB, MB and GBno
highest-user-wasted-ratioThreshold for the maximum allowed ratio wasted bytes as a function of total image size expressed as a ratio between 0-1. Note: the base image layer is NOT included in the total image size.no
lowest-efficiency-ratioThreshold for the lowest allowed image efficiency ratio between 0-1no

no outputs