Use appropriate document
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
@@ -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/"
|
||||||
|
|||||||
Reference in New Issue
Block a user