Closed
Prefer Docker over Podman in container-image CI scripts#67
Conversation
Co-authored-by: bougyman <6848+bougyman@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job Build and publish container image
Prefer Docker over Podman in container-image CI scripts
Aug 11, 2026
Member
|
Your commit messages suck, and we prefer podman, not docker. This was a bad change. |
3 tasks
bougyman
added a commit
that referenced
this pull request
Aug 11, 2026
… scanning (#68) ## Summary - Splits the `burrito` job into a `burrito-build` matrix (one leg per target - `macos_aarch64`, `linux_x86_64`, `windows_x86_64` - built concurrently instead of serially in one job) and a `burrito-package` job that gathers all three binaries and does the packaging/checksums/SBOM/release-creation. Closes #66. The release pipeline was taking 12+ minutes with all three targets built serially. - Fixes Trivy scanning a Docker-only `image-ref` while the image is actually built with Podman (`ci/build_image.sh` prefers Podman) - see #67, where a runtime-preference reorder was tried and rejected since it would've meant Podman-built images go untested. This saves the image to a tarball (`ci/save_image.sh`, already existed but was unused) and has Trivy scan that directly via its `input` option, sidestepping the runtime-detection question entirely. - Fixes a pre-existing `shellcheck` SC2035 nit (`sha256sum *` -> `sha256sum -- *`) found while validating the workflow with `actionlint`. ## Test plan - [x] `actionlint .github/workflows/main.yaml` - clean, no warnings - [x] YAML validated (job graph: `validate` -> `burrito-build` (matrix) -> `burrito-package` -> `container`, with `needs`/output references updated accordingly) - [ ] End-to-end verification on an actual release-PR merge (or `workflow_dispatch`) - confirm total wall-clock and that the container SBOM step succeeds against the saved tarball 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
The
Build and publish container imagejob was building the image with Podman while downstream steps expected to find it through Docker. On GitHub Actions runners with both runtimes installed, that left Trivy scanning a tag that did not exist in Docker’s local image store.Root cause
ci/build_image.shpreferred Podman when both runtimes were available.localhost/linear-cli-ex:<tag>, while the workflow scannedlinear-cli-ex:<tag>via Trivy/Docker.Change
ci/build_image.shci/publish.shci/save_image.shEffect
Representative change