ci(build): add GHCR image build workflow for exgentic-a2a-runner#42
Open
kellyaa wants to merge 2 commits into
Open
ci(build): add GHCR image build workflow for exgentic-a2a-runner#42kellyaa wants to merge 2 commits into
kellyaa wants to merge 2 commits into
Conversation
Automates publishing multi-arch images to ghcr.io/kagenti/workload-harness/exgentic-a2a-runner on tag pushes, pushes to main, and manual dispatch. Modeled after the build.yaml in rossoctl/cortex, with a matrix so future images plug in as extra entries. Also repoint k8s/job.yaml to the new registry path and document the image publishing scheme in the README. Closes #36 Signed-off-by: Kelly Abuelsaad <kaymar@gmail.com>
Origin was renamed from kagenti/workload-harness to rossoctl/workload-harness. github.repository in the workflow already resolves to the new owner, so this only fixes the hardcoded references in k8s/job.yaml and the README. Signed-off-by: Kelly Abuelsaad <kaymar@gmail.com>
Contributor
|
Looks good. I want to test it, but I have general kagenti issues with the new release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/build.yaml: multi-arch GHCR image build forexgentic-a2a-runner, modeled after thebuild.yamlinrossoctl/cortex. Triggers onv*tags, pushes tomain, and manual dispatch. Matrix-shaped so future images plug in as extra entries.k8s/job.yamland README repointed to the new image path (ghcr.io/rossoctl/workload-harness/exgentic-a2a-runner).Closes #36.
Notes
build-args:is intentionally omitted (runner needs none today) — avoids the dual-key bug in the cortex build-push step where the secondbuild-argskey silently drops matrix-level args.concurrencycancels superseded builds per ref, butcancel-in-progressis guarded ongithub.ref_type != tagso tag builds always finish (each tag is a distinct release artifact).${{ github.repository }}, which resolves torossoctl/workload-harnesspost-rename. The issue text predates the rename and sayskagenti/; usinggithub.repositorymatches the current origin and works with the built-inGITHUB_TOKEN(a token minted for reporossoctl/*cannot push toghcr.io/kagenti/*).Test plan
main— producesmain-<sha7>andlatesttagsdocker manifest inspect ghcr.io/rossoctl/workload-harness/exgentic-a2a-runner:latestshows bothlinux/amd64andlinux/arm64kubectl apply -f exgentic_a2a_runner/k8s/job.yamlin a smoke deploy pulls the new image successfullyv0.0.1push produces:v0.0.1and updates:latest