This commit is contained in:
@@ -177,6 +177,7 @@ jobs:
|
||||
FULL_URL="${{ steps.prep.outputs.image_name }}"
|
||||
REPO_PURE="${{ steps.prep.outputs.repo_pure }}"
|
||||
BASE_IMAGE="${{ steps.prep.outputs.base_image }}"
|
||||
REPO_URL="https://git.pi-farm.de/${{ gitea.repository }}"
|
||||
|
||||
# Sicherstellen, dass buildargs.env da ist
|
||||
if [ ! -f "buildargs.env" ]; then echo "❌ buildargs.env fehlt!"; exit 1; fi
|
||||
@@ -281,6 +282,7 @@ jobs:
|
||||
sed -i "s|__BASE_IMAGE__|$BASE_IMAGE|g" "$output"
|
||||
sed -i "s|__ARM_STATUS__|$ARM_STATUS|g" "$output"
|
||||
sed -i "s|__CURRENT_DATE__|$CURRENT_TIME|g" "$output"
|
||||
sed -i "s|__REPO_URL__|$REPO_URL|g" "$output"
|
||||
|
||||
# Komplexe Blöcke über ein temporäres File einfügen (verhindert Shell-Interpretationsfehler)
|
||||
awk -v r="$HISTORY_CONTENT" '{gsub(/__HISTORY_CONTENT__/, r)}1' "$output" > "$output.tmp" && mv "$output.tmp" "$output"
|
||||
|
||||
Reference in New Issue
Block a user