spice-labs-inc/Publish Docker Image

Build, tag, and publish a Docker image to GHCR

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
imageFull image name (e.g. ghcr.io/org/repo)yes
dockerfilePath to DockerfileDockerfile
tagsNewline-separated list of tagsyes
pushWhether to push imagestrue
git-shaGit SHA for VERGEN_GIT_SHA build argno
targetDocker build target stage nameno""
platformsComma-separated list of target platforms (e.g. linux/amd64,linux/arm64). Defaults to the runner's native platform.no""
build-contextsAdditional build contexts (newline-separated name=value)no""
build-argsAdditional build arguments (newline-separated name=value); GIT_SHA is always passedno""
registryRegistry hostnameghcr.io
registry-usernameRegistry username""
registry-passwordRegistry password (or token)yes
attestGenerate provenance attestation for the pushed imagetrue
namedescription
digestThe digest of the pushed image (e.g. sha256:...)