Skip to content

Bash script to push versioned images to docker hub

Notifications You must be signed in to change notification settings

tsuru/push-to-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Push to Docker Hub

Bash script to push versioned images to docker hub

The script will push the image if the env TRAVIS_GO_VERSION matches the GO_FOR_RELEASE.

Behavior

If on master => pushes to latest.

If it's a tag in the format 1.2.3 => pushes to v1.2.3 and v1

If it's a tag in the format 1.2.3-rc => pushes to v1.2.3-rc

Configuration

IMAGE_NAME: image name, in the format, repo/name, to be used when pushing the image.

About

Bash script to push versioned images to docker hub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages