mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-23 18:33:41 +08:00
Add travis build
This commit is contained in:
10
.travis/deploy-docker-hub
Executable file
10
.travis/deploy-docker-hub
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -x
|
||||
set -e
|
||||
|
||||
echo $DOCKER_HUB_PASSWORD | docker login -u $DOCKER_HUB_USER --password-stdin
|
||||
docker tag $IMAGE_NAME $IMAGE_NAME:latest
|
||||
docker tag $IMAGE_NAME $IMAGE_NAME:$TRAVIS_TAG
|
||||
docker push $IMAGE_NAME:latest
|
||||
docker push $IMAGE_NAME:$TRAVIS_TAG
|
||||
Reference in New Issue
Block a user