From 51576954dbae682ca22514eb0b174f36dee94219 Mon Sep 17 00:00:00 2001 From: E Date: Thu, 1 Oct 2026 11:23:06 -0400 Subject: [PATCH] ci: flip ghcr package to public after push (RunPod pulls anonymously) --- .github/workflows/build-worker.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-worker.yml b/.github/workflows/build-worker.yml index 5ccd606..0630616 100644 --- a/.github/workflows/build-worker.yml +++ b/.github/workflows/build-worker.yml @@ -42,4 +42,14 @@ jobs: ghcr.io/terrafying/saw-chamber-worker:v2 ghcr.io/terrafying/saw-chamber-worker:latest cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file + 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 \ No newline at end of file