Registry Mirror
Skip to content

Conversation

@annapendleton

Copy link
Copy Markdown
Collaborator

Cherry-pick of #3446 onto release-1.0, with no changes (git cherry-pick -x of both commits).

Needed for the 1.0 release: the v1.0.0-rc.1 release run (https://github.com/agent-substrate/substrate/actions/runs/40925903340) failed in Publish images with DENIED: permission_denied. ghcr.io can briefly deny pushes to a package it has just created, and this is the first release that creates them.

ate-setup publish release-images now builds each ko image in its own ko build. If an image fails, it logs the error and retries that image, for up to 3 attempts, waiting 10s then 20s (retry.OnError with a wait.Backoff).

AI use: AI-assisted.

  • Tests pass

Build each ko image in its own ko run and retry only that image if it
fails: up to 3 attempts, waiting 10s then 20s, logging each error.
ghcr.io can briefly deny pushes to a package it has just created.

Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com>
(cherry picked from commit 3bc51a7)
Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com>
Replace the exported Retry type and hand-rolled backoff with
retry.OnError and a wait.Backoff, as kube/apply.go does.

Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com>
(cherry picked from commit b1e1fcd)
Signed-off-by: Anna Pendleton <13793293+annapendleton@users.noreply.github.com>
@LiorLieberman
Lior Lieberman (LiorLieberman) merged commit f86fde9 into agent-substrate:release-1.0 Oct 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants