better ci

This commit is contained in:
Torma Kristóf 2019-10-18 23:02:56 +02:00
parent 5adde814c9
commit 3964d49558
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -5,15 +5,4 @@ services:
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- cd hello-world-go
- 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
- for dir in $PWD/*/; do cd $dir; docker build -t=$DOCKER_USERNAME/${dir##*/} .; docker push $DOCKER_USERNAME/${dir##*/}; cd ..; done