Skip to content

Commit

Permalink
avoid publishing under the user namespace on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Jul 21, 2019
1 parent bd83332 commit f000fe2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions windows/ci/publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ foreach ($var in "DOCKER_USERNAME", "DOCKER_PASSWORD") {
}
}

Write-Host "Publishing to hub.docker.com/$env:DOCKER_USERNAME"
Write-Host "Publishing to hub.docker.com/$env:IMAGE_NAME"
docker login --username "$env:DOCKER_USERNAME" --password "$env:DOCKER_PASSWORD"
docker tag "$env:IMAGE_NAME" "$env:DOCKER_USERNAME/$env:IMAGE_NAME"
docker push "$env:DOCKER_USERNAME/$env:IMAGE_NAME"
docker push "$env:IMAGE_NAME"

0 comments on commit f000fe2

Please sign in to comment.