Skip to content

ci: bake image version into OCI kustomize bundle#8

Merged
ecv merged 1 commit into
mainfrom
feat/bake-image-version-oci-bundle
May 27, 2026
Merged

ci: bake image version into OCI kustomize bundle#8
ecv merged 1 commit into
mainfrom
feat/bake-image-version-oci-bundle

Conversation

@ecv
Copy link
Copy Markdown
Contributor

@ecv ecv commented May 27, 2026

Summary

  • Move image-overlays in .github/workflows/publish.yaml from config/base to config/base/manager — that's where the images: block actually lives, so the upstream publish-kustomize-bundle action's kustomize edit set image call now lands on the right kustomization and the resolved tag is baked into the published OCI bundle.
  • Realign all manifest image references from ghcr.io/datum-cloud/inventoryghcr.io/milo-os/inventory (manager kustomization, deployment manifest, dev overlay, Taskfile var). The published image actually ships to ghcr.io/milo-os/inventory (per publish-docker's registry-organization: milo-os + image-name: inventory), and image-name on the kustomize-bundle workflow is already set to that path — so the manifests must agree, otherwise kustomize edit set image is a no-op against a non-matching name.

Mirrors the billing service pattern referenced in the issue.

Closes #7.

Test plan

  • Push triggers Publish Inventory workflow; publish-kustomize-bundles step logs Setting image ghcr.io/milo-os/inventory:<tag> in .../config/base/manager and shows the modified kustomization.yaml with the resolved tag (not latest).
  • Pull the published OCI bundle (flux pull artifact oci://ghcr.io/milo-os/inventory-kustomize:<tag>) and confirm config/base/manager/kustomization.yaml images[].newTag matches the docker tag.
  • task dev:setup still stands up the controller locally against the new image name.

🤖 Generated with Claude Code

Point publish-kustomize-bundle's image-overlays at config/base/manager —
that's where the images: block lives, so the action's `kustomize edit set
image` call lands on the right kustomization and the published OCI bundle
now ships with the resolved image tag baked in.

Realign all manifest image references from ghcr.io/datum-cloud/inventory
to ghcr.io/milo-os/inventory so the name matches the actual registry path
used by publish-docker (registry-organization: milo-os) and the
image-name input on the kustomize-bundle workflow.

Fixes #7.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ecv ecv requested a review from scotwells May 27, 2026 17:37
@ecv ecv marked this pull request as ready for review May 27, 2026 17:37
@ecv ecv merged commit f8a90aa into main May 27, 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.

Bake image version into OCI bundle.

2 participants