fix: correct YAML syntax error in docker-release workflow

Fixed line 70-71 where a literal newline in the bash script was
breaking YAML parsing. Changed from:

  TAGS="$TAGS
  ghcr.io/..."

To:

  TAGS="${TAGS}"$'\n'"ghcr.io/..."

This uses bash's ANSI-C quoting syntax to properly insert a newline
within a single YAML line, avoiding the syntax error.
This commit is contained in:
2025-10-31 14:47:36 -04:00
parent 47b9df6b82
commit 9539d63103

View File

@@ -67,8 +67,7 @@ jobs:
# Only add 'latest' tag for stable releases
if [[ "$IS_PRERELEASE" == "false" ]]; then
TAGS="$TAGS
ghcr.io/$REPO_OWNER_LOWER/ai-trader:latest"
TAGS="${TAGS}"$'\n'"ghcr.io/$REPO_OWNER_LOWER/ai-trader:latest"
echo "Tagging as both $VERSION and latest"
else
echo "Pre-release detected - tagging as $VERSION only (NOT latest)"