ci: flip ghcr package to public after push (RunPod pulls anonymously)

This commit is contained in:
E committed 2026-10-01 11:23:06 -04:00
1 parent 9442e98704
commit 51576954db
1 file changed
+10
+10
View File
@@ -43,3 +43,13 @@ jobs:
ghcr.io/terrafying/saw-chamber-worker:latest
cache-from: type=gha
cache-to: type=gha,mode=max
# RunPod pulls anonymously, so the package must be public. Code in the
# image is already public via the site tarballs — no new exposure.
- name: Make package public
run: |
curl -sS -o /dev/null -w "%{http_code}\n" -X PATCH \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
https://api.github.com/user/packages/container/saw-chamber-worker \
-d '{"package_type":"container","visibility":"public"}' || true