equisoft-actions/Build and configure a container image

Build a container image and optionally push it. Labels and tags will be configured as per the OCI standards.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 2, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: equisoft-actions/docker-build-and-push@c2e83d6c72b7fc3df32becf3018ef219aca4ee76 # v3.5.3

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

namedescriptionrequireddefault
annotationsAnnotations to apply to the image, in the format 'key=value,key2=value2'.no""
aws-regionAWS region for the registry.no
build-argsArguments passed to the build command.no""
build-summaryShow the build summary.nofalse
contextRelative path under $GITHUB_WORKSPACE for the Docker context.no.
dockerfilePath to Dockerfile relative to context (e.g., 'Dockerfile' or 'docker/Dockerfile')yesDockerfile
labelsLabels to apply to the image, in the format 'key=value,key2=value2'.no""
nameImage nameyes
no-cacheDo not use cache when building the image (default false)nofalse
platformsThe target platform for the image, e.g., 'linux/amd64,linux/arm64'.yes
pullAlways attempt to pull all referenced images (default false)nofalse
push`true` to push the built image. `false` otherwise (default).yesfalse
push-manifestIf true, push a final manifest list after building all platforms. Cannot be false when building for multiple platforms.notrue
registryThe registry where the image will be pushed to.yes
role-session-nameSession name to use when assuming the role (optional)no
role-to-assumeRole to assume that has write access to the registry.no
tagsComma-separated list of tags to apply to the image. Do not use with manifest builds.yes
secrets-build-argsSecrets arguments passed to the build command. Format: multiline string with each secret on a new line as "KEY=value"no
working-directoryRelative path under $GITHUB_WORKSPACE where the project is located. Used as Docker build context if 'context' input is not provided.no.
namedescription
image-idImage ID built by this action