mirror of
https://github.com/RightNow-AI/openfang.git
synced 2026-04-25 17:25:11 +02:00
Merge pull request #965 from chrisyoung2005/fix/ghcr-package-visibility
Set GHCR package visibility to public on every release
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -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"}'
|
||||
|
||||
Reference in New Issue
Block a user