flownative/Dynamic Build Docker Image

Build a Docker image from a tagged release and publish it to Github Packages. Supports dynamic build arguments.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 23, 2020
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: flownative/action-docker-build@94f07e1411f0e7421e664e6b9264c2a22a4d65d1 # v1.8.0

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

namedescriptionrequireddefault
tag_refThe full tag reference. This must be a semver tag ref of an existing tagged image. For example, `refs/tags/v1.2.5+12`yes""
git_shaThe SHA hash of the Git commit being used for the build. If set, this value is used as a label for the resulting Docker imageno""
git_repository_urlThe URL leading to the Git repository. If set, this value is used as a label for the resulting Docker imageno""
image_nameThe image name to build, without tag. For example, `flownative/docker-magic-image/magic-image`yes""
image_tagThe image tag to build. If empty, the tag is derived from tag_ref: e.g. `v1.2.5`no""
registry_passwordPassword / token for the Github Docker image registryyes""
namedescription
image_nameThe name of the Docker image, which was built and pushed
image_tagThe tag of the Docker image, which was built and pushed
git_tagThe tag of the Git commit, which was discovered during the process