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"
|
if docker -l warn compose --ansi never pull --include-deps 2>&1 | grep " Pulled"
|
||||||
then
|
then
|
||||||
g_echo_warn "Installiere $docker Update"
|
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 --force-recreate >$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 >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
|
|
||||||
fi
|
fi
|
||||||
if [ -f Dockerfile ]
|
if [ -f Dockerfile ]
|
||||||
then
|
then
|
||||||
if docker -l warn compose --ansi never build --progress=plain --pull --no-cache --force-rm >$g_tmp/build 2>&1
|
if docker -l warn compose --ansi never build --progress=plain --pull --no-cache --force-rm >$g_tmp/build 2>&1
|
||||||
then
|
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 --force-recreate >$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 >$g_tmp/up 2>&1 || g_echo_error "$docker: docker compose up fehlgeschlagen: $(cat $g_tmp/up)"
|
|
||||||
else
|
else
|
||||||
g_echo_error "$docker: docker compose build fehlgeschlagen: $(cat $g_tmp/build)"
|
g_echo_error "$docker: docker compose build fehlgeschlagen: $(cat $g_tmp/build)"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user