rename docker hub namespace
This commit is contained in:
parent
513fcca8c6
commit
86c2796777
@ -13,10 +13,10 @@ script:
|
||||
|
||||
after_success:
|
||||
- printf 'FROM scratch\nADD gomodproxy /\nCMD ["/gomodproxy"]' > Dockerfile
|
||||
- docker build -t "sixt/gomodproxy:latest" .
|
||||
- docker build -t "sixtlabs/gomodproxy:latest" .
|
||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||
- docker push "sixt/gomodproxy:latest"
|
||||
- docker push "sixtlabs/gomodproxy:latest"
|
||||
- if [ ! -z $TRAVIS_TAG ] ; then
|
||||
docker tag sixt/gomodproxy:latest sixt/gomodproxy:$TRAVIS_TAG
|
||||
docker push sixt/gomodproxy:$TRAVIS_TAG
|
||||
docker tag sixtlabs/gomodproxy:latest sixtlabs/gomodproxy:$TRAVIS_TAG
|
||||
docker push sixtlabs/gomodproxy:$TRAVIS_TAG
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user