nethermindeth/Build and Push Image

Build and push a docker/oci image to a registry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 15, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: nethermindeth/github-action-image-build-and-push@adae43049bfe0d6ebcad11bb0a231c1de9873c1e # no releases — HEAD as of 2026-07-11

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

namedescriptionrequireddefault
push-to-registryPush to registry. Set to false if you want to only build the image and not push it.notrue
registryEither "dockerhub" or "artifactory"yes
image_nameName of the imageyes
image_tagsTags for the image (comma-separated)yes
platformsComma-separated list of platforms (e.g., linux/amd64,linux/arm64)nolinux/amd64,linux/arm64
contextBuild's context is the set of files located in the specified PATH or URLno.
dockerfile_pathPath to DockerfilenoDockerfile
setup-qemuSet up QEMUnofalse
cache_fromList of external cache sources (e.g., type=local,src=path/to/dir)notype=gha
cache_toList of cache export destinations (e.g., type=local,dest=path/to/dir)notype=gha,mode=max
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""
ulimitUlimit options (e.g., nofile=1024:1024)no""
build-argsList of build-time variablesno""
ignore_trivyIgnore Trivy scan errorsnofalse
run_trivyRun Trivy scannotrue

no outputs