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

View File

@ -5,4 +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
- for dir in $PWD/*/; do cd $dir; docker build -t=$DOCKER_USERNAME/${dir##*/} .; docker push $DOCKER_USERNAME/${dir##*/}; cd ..; done - for dir in $PWD/*/; do dir=${dir%*/}; cd $dir; docker build -t=$DOCKER_USERNAME/${dir##*/} .; docker push $DOCKER_USERNAME/${dir##*/}; cd ..; done