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

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.
> See [moving to another namespace][#moving-to-another-namespace] for explanations.
> 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.

View File

@@ -10,10 +10,14 @@ 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."}')
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.
curl -siL \
-X PATCH \
-d "$json" \
-d "$jsonOld" \
-H "Content-Type: application/json" \
-H "Authorization: JWT $token" \
"https://hub.docker.com/v2/repositories/$DOCKER_REGISTRY_IMAGE_FLOWGUNSO/"