Repository navigation
ci(image): publish as ghcr.io/graphprotocol/docs - #1140
Closed
cjorge-thegraph wants to merge 1 commit into
Closed
cjorge-thegraph wants to merge 1 commit into
cjorge-thegraph wants to merge 1 commit into
Conversation
ghcr.io/graphprotocol/graph-docs is a 2021 package that no repository is linked to, so this repository's GITHUB_TOKEN cannot write to it: main's first image run (57cdfac) built and checked the image, then the push got 403 on a blob HEAD. The image takes the repository's name instead, a package that does not exist yet, so the first push creates it linked to this repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Closed: the owner fixes the legacy |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes the image push that docs#1139 introduced. Main's first
image.ymlrun (46486394663, commit 57cdfac) built the image and passed the runtime-environment check. Thendocker pushfailed:Cause:
ghcr.io/graphprotocol/graph-docsalready exists. It is a private package created on 2021-06-18 and linked to no repository; itslatestis a June 2021 build. This repository'sGITHUB_TOKENhas no write access to it, so it cannot push there.Change: the image takes the repository's name,
ghcr.io/graphprotocol/docs, the way Studio's issubgraph-studio. That name has no package yet, so the first push from this repository creates it linked tographprotocol/docs, with the repository's access, asgraph-docs-stagingwas created. The rename coversIMAGEinimage.yml,release.ymlandci-cd-pull-request.ymland the workflow comments. Nothing else changes.The alternative is to keep
graph-docsand have an org admin give this repository write access to the legacy package (package settings, Manage Actions access). That is a UI-only setting, and the 2021 versions would stay in the package.graph-infra companion: graphprotocol/graph-infra#1148 now follows
ghcr.io/graphprotocol/docs:latest.Merge order
mainbuild pushesghcr.io/graphprotocol/docs:<commit>and:latest.fleet-ghcr-pull), Kargo's registry credential (kargo-ghcr-read) and forge's node credential can read the new package.graph-docs-stagingcan be deleted. The legacygraph-docspackage is unused by this repository; deleting it is a separate decision.Staging stays on its current
graph-docs-stagingimage until step 3.🤖 Generated with Claude Code