10 lines
292 B
YAML
10 lines
292 B
YAML
language: bash
|
|
dist: bionic
|
|
|
|
services:
|
|
- docker
|
|
|
|
script:
|
|
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
|
|
- for dir in $PWD/*/; do dir=${dir%*/}; cd $dir; docker build -t=$DOCKER_USERNAME/${dir##*/} .; docker push $DOCKER_USERNAME/${dir##*/}; cd ..; done
|