Automated build, tag and push Docker images to DockerHub
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gifs
src
Dockerfile
README.md
push.sh

README.md

Sum

Running

docker run --rm sum 4 2

Automated build, tag and push

Remember to export your DockerHub username to DOCKER_USERNAME

./push.sh sum

Building

docker build -t sum .

Tagging

Remember to export your DockerHub username to DOCKER_USERNAME

docker tag sum $(echo $DOCKER_USERNAME)/sum

Pushing

docker push $(echo $DOCKER_USERNAME)/sum