Skip to content

ci: add release cycle workflows#4

Merged
ecv merged 4 commits into
mainfrom
release-cycle-workflows
May 26, 2026
Merged

ci: add release cycle workflows#4
ecv merged 4 commits into
mainfrom
release-cycle-workflows

Conversation

@ecv
Copy link
Copy Markdown
Contributor

@ecv ecv commented May 26, 2026

Summary

  • Add .github/workflows/publish.yaml that publishes the inventory container image and a kustomize bundle on every push and on published releases. Reuses datum-cloud/actions/.github/workflows/publish-docker.yaml and publish-kustomize-bundle.yaml (pinned to v1.15.0), the same composition staff-portal and cloud-portal use.
  • The published artifacts match the names already referenced by the Taskfile and kustomize overlays: image at ghcr.io/milo-os/inventory, bundle at ghcr.io/milo-os/inventory-kustomize.

Notes

  • Scoped to release-cycle workflows per the issue. The Bun/Node quality-checks/CI workflows that staff-portal and cloud-portal also carry don't apply to a Go service; a Go CI workflow (golangci-lint + go test) can land separately.
  • publish-kustomize-bundles depends on publish-container-image so Flux never picks up manifests before the image is pushed (same ordering staff-portal uses).

Test plan

  • CI runs on this PR — confirm the publish workflow's preview image build (PR-tagged) succeeds
  • After merge, confirm a v0.0.0-main-… image and kustomize bundle appear in ghcr.io/datum-cloud/inventory*
  • Cut a test release and confirm semver-tagged image + bundle are published

Closes #3

🤖 Generated with Claude Code

@ecv ecv marked this pull request as draft May 26, 2026 18:08
Mirror the publish workflows used by staff-portal
and cloud-portal so inventory can publish its container image and
kustomize bundle on push and release, and so PRs get tagged with the
project month on open/ready/reopen.

Closes #3

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ecv ecv force-pushed the release-cycle-workflows branch from e9a2704 to 53e2084 Compare May 26, 2026 18:13
@ecv ecv self-assigned this May 26, 2026
The reusable publish-docker workflow templates the image path as
ghcr.io/<registry-organization>/<image-name>, so passing the full
ghcr.io/milo-os/inventory as image-name produced
ghcr.io/datum-cloud/ghcr.io/milo-os/inventory and push was denied.

Pass bare image-name and set registry-organization: milo-os.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ecv ecv marked this pull request as ready for review May 26, 2026 18:35
@ecv ecv requested review from kevwilliams and scotwells May 26, 2026 18:48
@ecv ecv merged commit f9dd9c9 into main May 26, 2026
3 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.

Lifecycle workflows.

2 participants