Skip to content

Commit

Permalink
Merge pull request #231 from linuxserver/quickfix
Browse files Browse the repository at this point in the history
quick fix for docker hub readme sync
  • Loading branch information
aptalca authored Jan 9, 2024
2 parents 7927854 + 743393a commit 053622c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ pipeline {
-H "Authorization: JWT ${DH_TOKEN}" \
-H "Content-Type: application/json" \
-X PATCH \
-d "{\"full_description\":$(jq -Rsa . ${DH_README_SYNC_PATH})}" \
https://hub.docker.com/v2/repositories/${DOCKERHUB_IMAGE}
-d '{"full_description":"'$(jq -Rsa . ${DH_README_SYNC_PATH})'"}' \
https://hub.docker.com/v2/repositories/${DOCKERHUB_IMAGE} || :
else
echo "Not the default Github branch. Skipping readme sync to Docker Hub."
fi
Expand Down
4 changes: 2 additions & 2 deletions roles/generate-jenkins/templates/Jenkinsfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,8 @@ pipeline {
-H "Authorization: JWT ${DH_TOKEN}" \
-H "Content-Type: application/json" \
-X PATCH \
-d "{\"full_description\":$(jq -Rsa . ${DH_README_SYNC_PATH})}" \
https://hub.docker.com/v2/repositories/${DOCKERHUB_IMAGE}
-d '{"full_description":"'$(jq -Rsa . ${DH_README_SYNC_PATH})'"}' \
https://hub.docker.com/v2/repositories/${DOCKERHUB_IMAGE} || :
else
echo "Not the default Github branch. Skipping readme sync to Docker Hub."
fi
Expand Down

0 comments on commit 053622c

Please sign in to comment.