actions-marketplace-validations/Build Docker images with Depot

Build and push Docker images with Depot

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 3, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/depot_build-push-action@5f3b3c2e5a00f0093de47f657aeaefcedff27d18 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

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
build-platformOverride the build execution platform (e.g., linux/amd64 or linux/arm64)no
buildx-fallbackFallback to `docker buildx build` if `depot build` failsnofalse
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
github-tokenGitHub Token used to authenticate against a repository for Git contextno${{ github.token }}
labelsList of metadata for an imageno
lintLint dockerfiles and fail build if any issues are at least the lint-fail-on severitynofalse
lint-fail-onSeverity of linter issue to cause the build to fail. (e.g., error, warn, info, none)no
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
projectDepot project IDno
pullAlways attempt to pull all referenced imagesnofalse
pushPush is a shorthand for --output=type=registrynofalse
saveSave the image to the Depot Registrynofalse
save-tagTag your image in the Depot Registryno
save-tagsTags for your image in the Depot Registryno
sbomGenerate SBOM attestation for the build (shorthand for --attest=type=sbom)no
sbom-dirDirectory to output SBOMs for each built imageno
secretsList of secrets to expose to the build (e.g., key=string, GIT_AUTH_TOKEN=mytoken)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 tagsno
targetSets the target stage to buildno
tokenDepot Token used to authenticate with the remote builder instanceno
ulimitUlimit options (e.g., nofile=1024:1024)no
namedescription
imageidImage ID
digestImage digest
metadataBuild result metadata
build-idBuild ID
project-idProject ID