Fix the docker-old filename, move the short description to CI/CD variables.

This commit is contained in:
Florian Anceau
2024-09-17 21:42:02 +00:00
parent 10e004a92d
commit 327ee22307
2 changed files with 42 additions and 32 deletions
+3 -3
View File
@@ -8,11 +8,11 @@ token=$(curl -s \
# Generate a JSON with the README.md as the full_description.
json=$(jq -n \
--arg readme "$(<documentations/docker.md)" \
'{"full_description": $readme,"description":"Synchronize one or more Seafile library. Support password protected librairies and 2FA authentication."}')
'{"full_description": "'"$readme"'","description": "'"$DOCKER_REGISTRY_DESCRIPTION_FLRNNC"'"}')
jsonOld=$(jq -n \
--arg readme "$(<documentations/docker-olm.md)" \
'{"full_description": $readme,"description":"Synchronize one or more Seafile library. Support password protected librairies and 2FA authentication."}')
--arg readme "$(<documentations/docker-old.md)" \
'{"full_description": "'"$readme"'","description": "'"$DOCKER_REGISTRY_DESCRIPTION_FLOWGUNSO"'"}')
# Update the Docker Hub repository's full_description.
curl -siL \