This commit adds a GHA workflow to support publishing a container image for the `workspaces/controller` component as well as some updates to the `Makefile` to establish reasonable (but overridable) defaults.
Key behavior:
- Publishes controller images on any workspaces/ directory change
- Builds images with commit SHA tags by default
- "release" images with use the tag as defined by the `VERSION` file
- a `-dirty` suffix is added to the tag if the codebase is not `porcelain`
- no `latest` tag is ever produced on images
- Uses `ghcr.io/kubeflow/notebooks` registry with configurable naming
example image name from "random" commit:
- `ghcr.io/kubeflow/notebooks/workspaces-controller:sha-3fa851ab3173942dbaa1a609468e7f9eadf5f4e4`
example image name from release:
- `ghcr.io/kubeflow/notebooks/workspaces-controller:v2.0.0`
Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
|
||
|---|---|---|
| .. | ||
| version | ||