14 lines
489 B
Bash
14 lines
489 B
Bash
#!/usr/bin/bash
|
|
# build and push images (using compose)
|
|
docker compose build
|
|
# docker compose build --no-cache
|
|
docker compose push
|
|
# build and push images (just with docker)
|
|
# find . -name Dockerfile | while read P; do sed -e 's|\./\(.*\)/Dockerfile|\1|'; done >builds.tmp
|
|
# export TAG=1.0
|
|
# cat builds.tmp | while read P; do \
|
|
# docker build -t $P ./$P; \
|
|
# docker tag $P:latest baloan/$P:latest; \
|
|
# docker tag $P:latest baloan/$P:$TAG; \
|
|
# docker push baloan/$P:latest; \
|
|
# done |