File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ permissions:
1313 contents : read # This is required for actions/checkout
1414
1515jobs :
16- update_ecr_about_text :
16+ update_repo_metadata :
1717 runs-on : ubuntu-latest
1818 steps :
1919 - name : Checkout
6666 fi
6767 jq --arg about "$(cat README.md)" --arg repo "${IMAGE_NAME#*/}" '.catalogData.aboutText = $about | .repositoryName = $repo | del(.catalogData.logoUrl)' catalog-data.json > catalog-data.json.tmp && mv catalog-data.json.tmp catalog-data.json
6868 aws ecr-public put-repository-catalog-data --repository-name ${IMAGE_NAME#*/} --cli-input-json file://catalog-data.json
69+
70+ - name : Update Quay.io Repository Description
71+ run : |
72+ curl -X PUT \
73+ -H "Authorization: Bearer ${{ secrets.PANUBUILD_QUAYIO_API_TOKEN }}" \
74+ -H "Content-Type: application/json" \
75+ -d '{"description": "${{ steps.repo_description.outputs.description }}"}' \
76+ 'https://quay.io/api/v1/repository/${{ steps.image_name.outputs.image_name }}'
You can’t perform that action at this time.
0 commit comments