From a3ab0c1d463eeabce7bdf0753a09317031b520ff Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 19 Oct 2026 18:36:00 +0000 Subject: [PATCH] update.sh: ganzes Repository als Build-Kontext Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz --- deploy/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/update.sh b/deploy/update.sh index 278ed24..1d4434f 100755 --- a/deploy/update.sh +++ b/deploy/update.sh @@ -17,7 +17,7 @@ echo "$umgebung: Update von $alt auf $version" image=$(grep "^IMAGE=" .env | cut -d= -f2) git fetch --tags origin if ! docker image inspect "$image:$version" >/dev/null 2>&1; then - git archive "v$version" | docker build ${BUILD_OPTS:-} -t "$image:$version" --build-arg APP_VERSION="$version" - + git -C .. archive "v$version" | docker build ${BUILD_OPTS:-} -t "$image:$version" --build-arg APP_VERSION="$version" - fi # Bei der ersten Einrichtung läuft noch nichts, dann gibt es auch nichts zu sichern. if [ -n "$(docker compose ps -q --status running "$backup")" ]; then