This commit is contained in:
parent
1c14a34461
commit
68a84b69bf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user