drone is anoyying
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-01-23 14:38:43 +01:00
parent 1c14a34461
commit 68a84b69bf
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -24,7 +24,7 @@ steps:
from_secret: DOCKER_PASSWORD
commands:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.kmlabz.com
- for dir in $PWD/*/; do dir=${dir%*/}; cd $dir; docker build -t=registry.kmlabz.com/$DOCKER_USERNAME/${dir##*/} .; docker push registry.kmlabz.com/$DOCKER_USERNAME/${dir##*/}; cd ..; done
- for dir in $PWD/*/; do dir=$${dir%*/}; cd $dir; docker build -t="registry.kmlabz.com/$DOCKER_USERNAME/$${dir##*/}" .; docker push "registry.kmlabz.com/$DOCKER_USERNAME/$${dir##*/}"; cd ..; done
services:
- name: docker