Use appropriate document

This commit is contained in:
flowgunso
2024-08-24 20:47:33 +02:00
parent 377831b972
commit fc3991a9cd
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -1,2 +1,2 @@
> This repository will be moved to another namespace [flrnnc/seafile-client](https://hub.docker.com/repository/docker/flrnnc/seafile-client/) instead. > This repository will be moved to another namespace [flrnnc/seafile-client](https://hub.docker.com/repository/docker/flrnnc/seafile-client/).
> See [moving to another namespace][#moving-to-another-namespace] for explanations. > See [moving to another namespace](#moving-to-another-namespace]) for explanations.
+5 -1
View File
@@ -10,10 +10,14 @@ json=$(jq -n \
--arg readme "$(<documentations/docker.md)" \ --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":"Synchronize one or more Seafile library. Support password protected librairies and 2FA authentication."}')
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."}')
# Update the Docker Hub repository's full_description. # Update the Docker Hub repository's full_description.
curl -siL \ curl -siL \
-X PATCH \ -X PATCH \
-d "$json" \ -d "$jsonOld" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "Authorization: JWT $token" \ -H "Authorization: JWT $token" \
"https://hub.docker.com/v2/repositories/$DOCKER_REGISTRY_IMAGE_FLOWGUNSO/" "https://hub.docker.com/v2/repositories/$DOCKER_REGISTRY_IMAGE_FLOWGUNSO/"