elgohr/Publish Docker

Uses the git branch as the docker tag and pushes the container

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
nameThe name of the image you would like to pushyes
usernameThe login username for the registryyes
passwordThe login password for the registryyes
registryUse registry for pushing to a custom registryno
snapshotUse snapshot to push an additional imageno
default_branchSet the default branch of your repository (default: master)no
dockerfileUse dockerfile when you would like to explicitly build a Dockerfileno
workdirUse workdir when you would like to change the directory for buildingno
contextUse context when you would like to change the Docker build context.no
buildargsUse buildargs when you want to pass a list of environment variables as build-argsno
buildoptionsUse buildoptions when you want to configure options for buildingno
cacheUse cache when you have big images, that you would only like to build partiallyno
tagsUse tags when you want to bring your own tags (separated by comma)no
tag_namesUse tag_names when you want to push tags/release by their git nameno
tag_semverPush semver docker tags. e.g. image:1.2.3, image:1.2, image:1no
no_pushSet no_push to true if you want to prevent the action from pushing to a registry (default: false)no
platformsUse platforms for building multi-arch imagesno
namedescription
tagIs the tag, which was pushed
snapshot-tagIs the tag that is generated by the snapshot-option and pushed
digestIs the digest of the image, which was pushed