Skip to content

feat: add New-API offline run package builders#1

Merged
yuanyp8 merged 17 commits into
mainfrom
feat/offline-run-packages
Jun 21, 2026
Merged

feat: add New-API offline run package builders#1
yuanyp8 merged 17 commits into
mainfrom
feat/offline-run-packages

Conversation

@yuanyp8

@yuanyp8 yuanyp8 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds an offline .run delivery project for New-API with two independent package types:

  • Docker Compose package: packages/compose
  • Kubernetes package: packages/k8s

The GitHub Actions workflow builds both amd64 and arm64 artifacts and publishes .run plus .sha256 files. Tag pushes matching v* publish the artifacts to GitHub Release.

What is included

  • Multi-arch GitHub Actions workflow
  • Shared offline package build library
  • Compose installer package
  • Kubernetes installer package
  • Image manifest metadata
  • Runtime installers with image load/tag/push, registry retargeting, status, and uninstall actions

Validation done

  • Local shell syntax check for generated scripts before pushing
  • Local JSON validation for image manifests before pushing
  • Repository diff checked after pushing

Notes

The current CI builds the New-API application image from upstream source during Actions. This packaging repo does not vendor the complete upstream New-API source tree. Kubernetes deployment is a basic single-replica offline delivery baseline with PostgreSQL and Redis bundled as workloads.

@yuanyp8 yuanyp8 merged commit 1a88e44 into main Jun 21, 2026
2 of 4 checks passed
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