Skip to content

Fix CI: Split release step to use gh CLI#1062

Merged
aaylward merged 1 commit intomainfrom
fix_ci
Feb 25, 2026
Merged

Fix CI: Split release step to use gh CLI#1062
aaylward merged 1 commit intomainfrom
fix_ci

Conversation

@aaylward
Copy link
Copy Markdown
Collaborator

Problem

CI was failing with gh: not found because the GitHub CLI is not available inside the ci-base container where all steps execute.

Solution

Split the release step into a separate job that runs directly on the runner (no container) where gh is available:

  • test-and-publish job: Runs in container, prepares release metadata (SHORT_SHA, service names, digests) and uploads as artifact
  • create-releases job: Runs on runner (no container), downloads artifact, uses gh to create releases

This maintains the same functionality while ensuring gh is available when needed.

The release step was failing because gh CLI is not available inside the
ci-base container. Split the workflow into two jobs:
- test-and-publish: Runs in container, prepares release metadata artifact
- create-releases: Runs on runner (no container), uses gh to create releases
@aaylward aaylward enabled auto-merge (squash) February 25, 2026 05:41
@aaylward aaylward disabled auto-merge February 25, 2026 05:41
@aaylward aaylward merged commit 9513520 into main Feb 25, 2026
10 of 11 checks passed
@aaylward aaylward deleted the fix_ci branch February 25, 2026 05:41
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