docker.yml aktualisiert
This commit is contained in:
parent
fcdcf58a89
commit
dbd1a1959e
@ -137,15 +137,13 @@
|
||||
if docker -l warn compose --ansi never pull --include-deps 2>&1 | grep " Pulled"
|
||||
then
|
||||
g_echo_warn "Installiere $docker Update"
|
||||
docker -l warn compose --ansi never down >$g_tmp/down 2>&1 || g_echo_error "$docker: docker compose pull fehlgeschlagen: $(cat $g_tmp/down)"
|
||||
docker -l warn compose --ansi never up -d >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
|
||||
docker -l warn compose --ansi never up -d --force-recreate >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
|
||||
fi
|
||||
if [ -f Dockerfile ]
|
||||
then
|
||||
if docker -l warn compose --ansi never build --progress=plain --pull --no-cache --force-rm >$g_tmp/build 2>&1
|
||||
then
|
||||
docker -l warn compose --ansi never down >$g_tmp/down 2>&1 || g_echo_error "$docker: docker compose pull fehlgeschlagen: $(cat $g_tmp/down)"
|
||||
docker -l warn compose --ansi never up -d >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
|
||||
docker -l warn compose --ansi never up -d --force-recreate >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
|
||||
else
|
||||
g_echo_error "$docker: docker compose build fehlgeschlagen: $(cat $g_tmp/build)"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user