Skip to content

ci(release): mirror latest release to R2 - #182

Merged
uvwt merged 2 commits into
mainfrom
feat/r2-latest-release-mirror-20261002
Oct 2, 2026
Merged

uvwt merged 2 commits into
mainfrom
feat/r2-latest-release-mirror-20261002

Conversation

@uvwt

@uvwt uvwt commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • mirror the validated, published AgentDock Release to Cloudflare R2 after GitHub Release publication
  • publish a GitHub-compatible latest.json manifest for future installer/self-update migration
  • verify public versioned assets before switching the latest manifest
  • remove stale R2 release objects after the new latest manifest is live
  • keep GitHub Releases as the immutable historical archive

R2 layout

  • latest.json
  • releases/<tag>/<release assets>

The R2 mirror retains only the current stable release. Historical versions remain on GitHub Releases.

Verification

  • go test ./...
  • actionlint .github/workflows/*.yml
  • git diff --check
  • mirror manifest smoke test against the release catalog

Repository configuration

Variables already configured:

  • R2_ACCOUNT_ID
  • R2_BUCKET=nexusdock-prod-downloads
  • R2_PUBLIC_BASE_URL=https://download.nexusdock.co

The bucket and download.nexusdock.co custom domain are already provisioned. The remaining deployment prerequisite is a bucket-scoped Cloudflare R2 Object Read & Write credential stored as:

  • R2_ACCESS_KEY_ID
  • R2_SECRET_ACCESS_KEY

@uvwt
uvwt merged commit 59fcab0 into main Oct 2, 2026
10 checks passed
@uvwt
uvwt deleted the feat/r2-latest-release-mirror-20261002 branch October 2, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant