.gitea/workflows/build-and-push.yaml aktualisiert

This commit is contained in:
pi-farm committed 2026-10-08 11:58:52 +00:00
1 parent fd5c9e53cc
commit 45f0d5e927
1 file changed
+3 -1
+3 -1
View File
@@ -409,7 +409,9 @@ jobs:
echo "📦 Processing README.md for Docker Hub (${DH_URL})..." echo "📦 Processing README.md for Docker Hub (${DH_URL})..."
sed "s|${GITEA_URL}|${DH_URL}|g" README.md > README_DH.md # Ersetzt die Image-URL NUR dann, wenn kein http:// oder https:// davor steht
export GITEA_URL DH_URL
python3 -c 'import os, re; content = open("README.md", "r", encoding="utf-8").read(); new_content = re.sub(r"(?<!https://)(?<!http://)" + re.escape(os.environ["GITEA_URL"]), os.environ["DH_URL"], content); open("README_DH.md", "w", encoding="utf-8").write(new_content)'
jq -n \ jq -n \
--arg desc "$SHORT_DESC" \ --arg desc "$SHORT_DESC" \