We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3d4d12 commit 3b5832cCopy full SHA for 3b5832c
1 file changed
.github/workflows/update-registry-metadata.yml
@@ -69,8 +69,9 @@ jobs:
69
70
- name: Update Quay.io Repository Description
71
run: |
72
+ JSON_DESCRIPTION="$(jq -n --arg desc "$(<README.md)" '{description: $desc}')"
73
curl -sSf -X PUT \
74
-H "Authorization: Bearer ${{ secrets.PANUBUILD_QUAYIO_API_TOKEN }}" \
75
-H "Content-Type: application/json" \
- -d "{\"description\": \"$(cat README.md)\"}" \
76
+ -d "${JSON_DESCRIPTION}" \
77
'https://quay.io/api/v1/repository/${{ steps.image_name.outputs.image_name }}'
0 commit comments