Merge pull request #965 from chrisyoung2005/fix/ghcr-package-visibility

Set GHCR package visibility to public on every release
This commit is contained in:
Jaber Jaber
2026-04-10 20:00:14 +03:00
committed by GitHub

View File

@@ -238,5 +238,17 @@ jobs:
tags: |
ghcr.io/rightnow-ai/openfang:latest
ghcr.io/rightnow-ai/openfang:${{ steps.version.outputs.version }}
labels: |
org.opencontainers.image.source=https://github.com/RightNow-AI/openfang
org.opencontainers.image.licenses=MIT
org.opencontainers.image.description=OpenFang Agent OS — single-binary Rust agent framework
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Set GHCR package visibility to public
run: |
curl -fsSL -X PATCH \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/orgs/RightNow-AI/packages/container/openfang \
-d '{"visibility":"public"}'