ujjwalbudha/Build, Scan and push Docker images

Thin wrapper around docker/build-push-action to scan docker images using Trivy

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
build-argsList of build-time variablesno
cache-fromList of external cache sources for buildx (e.g., user/app:cache, type=local,src=path/to/dir)no
cache-toList of cache export destinations for buildx (e.g., user/app:cache, type=local,dest=path/to/dir)no
contextBuild's context is the set of files located in the specified PATH or URLno
filePath to the Dockerfileno
labelsList of metadata for an imageno
loadLoad is a shorthand for --output=type=dockernofalse
platformsList of target platforms for buildno
provenanceGenerate provenance attestation for the build (shorthand for --attest=type=provenance)nofalse
pushPush is a shorthand for --output=type=registrynofalse
sbomGenerate SBOM attestation for the build (shorthand for --attest=type=sbom)no
secret-envsList of secret env vars to expose to the build (e.g., key=envname, MY_SECRET=MY_ENV_VAR)no
secretsList of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken)no
tagsList of tagsno
targetSet the target build stage to buildno
trivy-enabledEnable scanning with Trivy vulnerability scannernotrue
trivy-severityComma-separated list of vulnerability severities to scan for (UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL)noHIGH,CRITICAL
trivy-exit-codeExit code when vulnerabilities were foundno1
namedescription
imageidImage ID
digestImage digest
metadataBuild result metadata