marifante/build-docker-image-action

Action used to build and publish docker images to github registry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
dockerfile-pathThe path of the dockerfile (from the root of the repository)Dockerfile
targetThe target to build from the docker file (useful for multi-stage dockerfiles)no""
name-suffixA suffix to add to the image name (useful for monorepos where you want to build multiple images from the same repo)no""
contextThe build context to use (from the root of the repository)no.
cacheEnable registry-based layer caching. Cached layers are stored as a separate tag in GHCR and reused across runs.notrue
submodulesInitialize recursively the submodules of the repository during cloning.false
tokenToken to clone the repository.no${{ github.token }}
image-tagOptional explicit image tag. Useful when the desired tag should not come from GITHUB_SHA.no""
namedescription
image-nameThe name of the built image, including registry and tag.
image-tagsThe list of image tags that were built and pushed.