Skip to content

Commit 0167fbf

Browse files
committed
make the packages public
1 parent 7e2ad19 commit 0167fbf

File tree

1 file changed

+4
-21
lines changed

1 file changed

+4
-21
lines changed

.github/workflows/build-agentex.yml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -71,32 +71,15 @@ jobs:
7171
push: true
7272
build-args: |
7373
INCLUDE_DOCS=true
74+
labels: |
75+
org.opencontainers.image.source=https://github.com/${{ github.repository }}
76+
org.opencontainers.image.description=AgentEx Platform
77+
org.opencontainers.image.licenses=MIT
7478
tags: |
7579
ghcr.io/${{ github.repository }}/${{ env.AGENTEX_SERVER_IMAGE_NAME }}:${{ inputs.commit-sha }}
7680
cache-from: type=gha,scope=${{ env.AGENTEX_SERVER_IMAGE_NAME }}-release
7781
cache-to: type=gha,mode=max,scope=${{ env.AGENTEX_SERVER_IMAGE_NAME }}-release
7882

79-
# Make package public
80-
- name: Make package public
81-
env:
82-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83-
run: |
84-
echo "🔓 Making package public..."
85-
86-
# Extract package name from repository
87-
PACKAGE_NAME="${{ env.AGENTEX_SERVER_IMAGE_NAME }}"
88-
ORG_NAME="${{ github.repository_owner }}"
89-
90-
# Set package visibility to public
91-
gh api \
92-
--method PATCH \
93-
-H "Accept: application/vnd.github+json" \
94-
-H "X-GitHub-Api-Version: 2022-11-28" \
95-
"/orgs/$ORG_NAME/packages/container/$PACKAGE_NAME" \
96-
-f visibility='public' || echo "⚠️ Could not set package visibility (may already be public or insufficient permissions)"
97-
98-
echo "✅ Package visibility updated"
99-
10083
# Summary
10184
- name: Release Summary
10285
run: |

0 commit comments

Comments
 (0)