This repository was archived by the owner on Oct 16, 2026. It is now read-only.
Repository navigation
Make the GHCR image package public after builds - #5
Merged
Merged
Conversation
Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
Co-authored-by: Dominic Letz <dominicletz@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5a86c1d. Configure here.
| --header "X-GitHub-Api-Version: 2022-11-28" \ | ||
| --header "Content-Type: application/json" \ | ||
| --data '{"visibility":"public"}' \ | ||
| "${{ github.api_url }}/user/packages/container/agentyard" |
There was a problem hiding this comment.
Visibility PATCH uses unsupported API
High Severity
The new step PATCHes /user/packages/container/agentyard with GITHUB_TOKEN. That packages route only documents GET and DELETE, and /user/ expects a user token rather than the Actions token. curl --fail-with-body then fails the job after the image push, so the workflow_run production deploy never starts.
Reviewed by Cursor Bugbot for commit 5a86c1d. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
GITHUB_TOKENwith the existingpackages: writepermission to PATCHagentyardpublicCOMPOSE_PROFILESfrom the server-side.env; setCOMPOSE_PROFILES=caddyandDOMAINthere to enable CaddyFirst deploy after merge
DEPLOY_HOST,DEPLOY_USER, andDEPLOY_SSH_KEYsecrets (plus optional port/path)..envfrom.env.prod.example, replacing allCHANGE_MEvalues. AddCOMPOSE_PROFILES=caddyandDOMAINif HTTPS via Caddy is desired.ghcr.io/dominicletz/agentyardpublic; the following production deploy can pull it withoutGHCR_TOKEN.GHCR_TOKENcredentials remain supported as an optional fallback.Verification
git diff --checkactionlint .github/workflows/*.yml