-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
Not Selected
-
-
-
GH Train-34
-
None
Summary
This story tracks the work to add GitHub Actions CI/CD support for building and pushing container images for the federated-learning-controller project.
GitHub PR: https://github.com/open-cluster-management-io/addon-contrib/pull/90
Changes
- Add federated-learning-controller to repositories.json for CI/CD integration
- Update Dockerfile to support OS/ARCH build args and use ubi9-minimal base image
- Add CI/CD compatible Makefile targets (image, image-push, image-manifest)
- Use nested Makefile structure for modular image builds
- Add sidecar Makefile for independent sidecar image build
- Update flower example Makefile with CI/CD targets
Images Built
| Image | Description |
|---|---|
| quay.io/open-cluster-management/federated-learning-controller | Main controller image |
| quay.io/open-cluster-management/federated-learning-sidecar | Sidecar component image |
| quay.io/open-cluster-management/federated-learning-application | FL application image (tag: flower-mnist-) |
Make Targets
# Build all images make image # Build individual images make image-controller make image-sidecar make image-application # Push all images make image-push # Create multi-arch manifests make image-manifest
Acceptance Criteria
- [x] make image builds all 3 images successfully
- [x] CI/CD triggers on push to main branch
[ ] Release workflow triggers on tag push