Created
September 25, 2019 20:59
-
-
Save adamdriscoll/18c218a2e87fdb627f5f2515230c7fcd to your computer and use it in GitHub Desktop.
Push an image to Docker Hub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param($TagName = '1.0.2') | |
docker tag myImage adamdriscoll/myImage:$TagName | |
docker login -u adamdriscoll -p $Env:dockerpwd | |
docker push adamdriscoll/myImage:$TagName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment