bitovi/Docker Build Tag Publish to ECR

Build, Tag, and Publish a docker image

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Feb 6, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bitovi/github-actions-docker-ecr-publish@bcaf3fb11bafbc6ae884516e92f870ac11a5ae68 # v0.1.0

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

namedescriptionrequireddefault
checkoutCheckout the repositorynotrue
aws_loginUse action builtin loginnotrue
aws_access_key_idAWS access key IDyes
aws_secret_access_keyAWS secret access keyyes
aws_session_tokenAWS session tokenno
aws_default_regionAWS default regionnous-east-1
aws_ecr_repo_nameAWS ECR repository name. e.g. hello-repositoryyes
image_tagTag to override default Logicno""
use_shaUse the SHA for the tag. Overrides the default logic.nofalse
org_nameDocker org name.no""
use_latestTag default branch with latest tag instead of branch name.notrue
build_argsAdd a string of values to the end of the build commandno
working_directorySpecify the working directory that the docker build will be run inno

no outputs