better ci
This commit is contained in:
parent
5adde814c9
commit
3964d49558
13
.travis.yml
13
.travis.yml
@ -5,15 +5,4 @@ services:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
||||||
- cd hello-world-go
|
- for dir in $PWD/*/; do cd $dir; docker build -t=$DOCKER_USERNAME/${dir##*/} .; docker push $DOCKER_USERNAME/${dir##*/}; cd ..; done
|
||||||
- docker build -t=tormachris/hello-world-go .
|
|
||||||
- docker push tormachris/hello-world-go
|
|
||||||
- cd ../isprime-go
|
|
||||||
- docker build -t=tormachris/isprime-go .
|
|
||||||
- docker push tormachris/isprime-go
|
|
||||||
- cd ../hello-world-python
|
|
||||||
- docker build -t=tormachris/hello-world-py .
|
|
||||||
- docker push tormachris/hello-world-py
|
|
||||||
- cd ../isprime-python
|
|
||||||
- docker build -t=tormachris/isprime-py .
|
|
||||||
- docker push tormachris/isprime-py
|
|
||||||
|
Loading…
Reference in New Issue
Block a user