Skip to content

chore: add kagenti publish workflow for compute driver#2

Merged
pdettori merged 1 commit intomvpfrom
chore/kagenti-publish-workflow
Apr 29, 2026
Merged

chore: add kagenti publish workflow for compute driver#2
pdettori merged 1 commit intomvpfrom
chore/kagenti-publish-workflow

Conversation

@pdettori
Copy link
Copy Markdown

Summary

  • Adds .github/workflows/publish.yml that builds from deploy/Dockerfile
  • Pushes to ghcr.io/kagenti/openshell-driver-openshift/compute-driver on merge to main/mvp, v* tag push, or manual dispatch
  • Fixes Dockerfile for multi-arch builds (uses TARGETOS/TARGETARCH args instead of hardcoded GOARCH=amd64)
  • Multi-arch build: linux/amd64,linux/arm64
  • Tag strategy matches kagenti/kagenti build.yaml: version tag, branch-sha, latest

Context

Part of kagenti/kagenti#1356 — publish forked OpenShell images to ghcr.io via GitHub Actions.

Test plan

  • Trigger workflow manually via workflow_dispatch and verify image appears at ghcr.io/kagenti/openshell-driver-openshift/compute-driver:latest
  • Verify multi-arch manifest: docker buildx imagetools inspect ghcr.io/kagenti/openshell-driver-openshift/compute-driver:latest
  • Verify tag format on branch push: mvp-sha-<short>

Adds .github/workflows/publish.yml that builds from deploy/Dockerfile and
pushes to ghcr.io/kagenti/openshell-driver-openshift/compute-driver on
merge to main/mvp, tag push, or manual dispatch.

Also fixes Dockerfile for multi-arch builds by using TARGETOS/TARGETARCH
build args instead of hardcoded GOARCH=amd64.

Tag strategy matches kagenti/kagenti build.yaml:
- version tag (v0.1.0) on tag push
- branch-sha (main-sha-abc1234) on branch push
- latest on tag, main merge, or manual dispatch

Part of kagenti/kagenti#1356

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
@pdettori pdettori merged commit 8c86191 into mvp Apr 29, 2026
4 checks passed
@pdettori pdettori deleted the chore/kagenti-publish-workflow branch April 29, 2026 22:01
pdettori added a commit to kagenti/kagenti that referenced this pull request Apr 30, 2026
- Add openshell: stanza to charts/kagenti/values.yaml with image refs
  for gateway, compute-driver, and credentials-driver (ghcr.io/kagenti/)
- Add scripts/openshell/build-images.sh for local dev iteration
  (docker build + kind load, not required for deployment)

The publish workflows that push these images are added in separate PRs:
- kagenti/OpenShell#3 (gateway)
- kagenti/openshell-driver-openshift#2 (compute driver)
- kagenti/openshell-credentials-keycloak#2 (credentials driver)

Closes #1356

Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>
Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
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.

1 participant