peterjclaw/Lazily build and push Docker images

Lazily build Docker images to content-identifying-hash based tags

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
add-hostsList of a customs host-to-IP mapping (e.g., docker:10.180.0.1)no
allowList of extra privileged entitlement (e.g., network.host,security.insecure)no
annotationsList of annotation to set to the imageno
attestsList of attestation parameters (e.g., type=sbom,generator=image)no
build-argsList of build-time variablesno
build-contextsList of additional build contexts (e.g., name=path)no
builderBuilder instanceno
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
cgroup-parentOptional parent cgroup for the container used in the buildno
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
networkSet the networking mode for the RUN instructions during buildno
no-cacheDo not use cache when building the imagenofalse
no-cache-filtersDo not cache specified stagesno
outputsList of output destinations (format: type=local,dest=path)no
platformsList of target platforms for buildno
provenanceGenerate provenance attestation for the build (shorthand for --attest=type=provenance)no
pullAlways attempt to pull all referenced imagesnofalse
pushPush is a shorthand for --output=type=registrynofalse
sbomGenerate SBOM attestation for the build (shorthand for --attest=type=sbom)no
secretsList of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken)no
secret-envsList of secret env vars to expose to the build (e.g., key=envname, MY_SECRET=MY_ENV_VAR)no
secret-filesList of secret files to expose to the build (e.g., key=filename, MY_SECRET=./secret.txt)no
shm-sizeSize of /dev/shm (e.g., 2g)no
sshList of SSH agent socket or keys to expose to the buildno
tagsList of tagsyes
targetSets the target stage to buildno
ulimitUlimit options (e.g., nofile=1024:1024)no
github-tokenGitHub Token used to authenticate against a repository for Git contextno${{ github.token }}
extra-inputsAdditional files to include in the content hashno
namedescription
image-nameThe name of the image (e.g: `user/app`), reflected from the parsed `tags` input for convenience. Where several names are encountered, this is the first from the list for which the desired image (now) exists.
image-tagThe tag of the image (e.g: `content-hash-1234abc...`), as constructed from the hashed inputs.
image-name-tagThe full name of the image, `<image-name>:<image-tag>` (e.g: `user/app:content-hash-1234abc...`), for convenience.
tag-existedWhether or not the tag already existed (for any of the input names).