qasimnauman/Patch Docker Image

Scan, patch, and verify vulnerabilities using a Dockerfile input.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
dockerfile-pathPath to the Dockerfile to patch.no./Dockerfile
context-pathOptional build context path used with dockerfile-path.no.
build-argsOptional newline-separated build args (KEY=VALUE).no""
severitiesComma-separated severities to patch.noCRITICAL,HIGH,MEDIUM,LOW
patched-suffixSuffix for patched image tag.no-patched
report-dirDirectory for reports and generated patch Dockerfile.no./vuln_reports
dry-runOnly generate artifacts and skip build, verify, push.nofalse
pushPush the verified patched image to the registry after a clean scan.nofalse
non-interactiveFail instead of prompting when credentials are missing.notrue
use-buildxUse docker buildx for patched build.nofalse
python-versionPython version for running the tool.no3.12
dh-userDocker Hub username used to authenticate Docker Scout.no""
dh-passwordDocker Hub token or password used to authenticate Docker Scout.no""
create-prOpen a pull request in the current repository containing the verified patch Dockerfile and a CVE summary table after a successful zero-CVE scan. Requires the calling workflow to have: permissions: contents: write pull-requests: write nofalse
pr-branch-prefixPrefix for the auto-created patch branch name.nodocker-security-patch
namedescription
patched_imageThe final verified patched image tag produced by the tool.
pr-urlURL of the pull request created (empty when create-pr is false or no CVEs were found).