Skip to content

ci: add self-built image verification workflow#1

Merged
BFanSYe merged 1 commit into
mainfrom
ops/self-built-image-pipeline
May 19, 2026
Merged

ci: add self-built image verification workflow#1
BFanSYe merged 1 commit into
mainfrom
ops/self-built-image-pipeline

Conversation

@BFanSYe
Copy link
Copy Markdown
Owner

@BFanSYe BFanSYe commented May 19, 2026

Summary

  • Add a Chinese self-built GHCR image runbook for upstream hotfix sync, digest-only deploys, verification, and rollback.
  • Harden build-sub2api-image.yml with upstream/ref inputs, required_fixes ancestor checks, missing-upstream counts, source-repo OCI labels, and a build-manifest.yaml artifact.
  • Add read-only image/deploy verification scripts for GHCR digest identity, source revision labels, required fixes, production container identity, public HTTPS, and homepage markers.
  • Add Makefile help targets and .gitignore allow-list entries for the new docs/scripts.

Verification

  • bash -n scripts/verify-sub2api-image.sh scripts/verify-sub2api-deploy.sh
  • shellcheck scripts/verify-sub2api-image.sh scripts/verify-sub2api-deploy.sh
  • PyYAML parse of .github/workflows/build-sub2api-image.yml
  • git diff --check
  • staged diff secret-shape scan
  • scripts/verify-sub2api-image.sh against current GHCR production digest and required fixes
  • scripts/verify-sub2api-deploy.sh against current production sub2api container and FusionGate homepage marker
  • Claude Code independent blocker review: ship it / no blockers

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 19, 2026

All contributors have signed the CLA. ✅
Posted by the CLA Assistant Lite bot.

@BFanSYe
Copy link
Copy Markdown
Owner Author

BFanSYe commented May 19, 2026

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request May 19, 2026
@BFanSYe BFanSYe merged commit b902aa2 into main May 19, 2026
13 of 14 checks passed
@BFanSYe BFanSYe deleted the ops/self-built-image-pipeline branch May 19, 2026 11:01
@github-actions github-actions Bot locked and limited conversation to collaborators May 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant