Skip to content

Commit

Permalink
Merge pull request #5 from YakDriver/f-public-image
Browse files Browse the repository at this point in the history
Set package to public
  • Loading branch information
YakDriver authored May 21, 2024
2 parents 9903f9b + b7664cf commit 463c1f2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,10 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.PUBLISH_TOKEN }}
tags: latest,stable,${{ env.SEMVER_TAGS }}
- name: "Docker: Set Image Visibility to Public"
run: |
curl -X PATCH \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.PUBLISH_TOKEN }}" \
https://api.github.com/user/packages/container/${{ env.IMAGE_NAME }}/visibility \
-d '{"visibility":"public"}'

0 comments on commit 463c1f2

Please sign in to comment.