Fix Docker Hub short description: trim to 100-byte limit

This commit is contained in:
2026-04-12 19:00:34 +02:00
parent 18b4df23e5
commit d651a084de
+1 -1
View File
@@ -115,7 +115,7 @@ jobs:
fi fi
HTTP_CODE=$(jq -n \ HTTP_CODE=$(jq -n \
--rawfile full DOCKER_HUB.md \ --rawfile full DOCKER_HUB.md \
--arg short "Portable AI dev environment for opencode. Debian-based with git, Node.js, AWS CLI, and SSH support. Available in base and omos (multi-agent) variants." \ --arg short "Portable AI dev environment for opencode. Debian-based with git, Node.js, AWS CLI, and SSH support." \
'{"full_description": $full, "description": $short}' | \ '{"full_description": $full, "description": $short}' | \
curl -s -o /tmp/hub-response.txt -w "%{http_code}" -X PATCH \ curl -s -o /tmp/hub-response.txt -w "%{http_code}" -X PATCH \
"https://hub.docker.com/v2/repositories/${{ vars.DOCKERHUB_USERNAME }}/opencode-devbox/" \ "https://hub.docker.com/v2/repositories/${{ vars.DOCKERHUB_USERNAME }}/opencode-devbox/" \