feat: monitor Docker image updates in cli-version-checker workflow - #47980
Merged
Conversation
…flow Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…flow Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
July 25, 2026 11:14
View session
pelikhan
marked this pull request as ready for review
July 25, 2026 11:15
Contributor
There was a problem hiding this comment.
Pull request overview
Extends the daily CLI version checker to monitor and pin Docker image releases.
Changes:
- Adds release cooldown and digest-resolution instructions for eight images.
- Expands registry network access and adds Docker-specific evaluation.
- Recompiles the generated workflow.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/cli-version-checker.md |
Adds Docker image monitoring and update guidance. |
.github/workflows/cli-version-checker.lock.yml |
Reflects the recompiled workflow configuration. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
.github/workflows/cli-version-checker.md:259
- The GHCR fallback has the same authentication failure as the Docker Hub example: it requests a token but sends the literal
******, so the fallback returns 401 instead of a digest. Use the bearer token acquired on line 257.
-H "Authorization: ******" \
- Files reviewed: 2/2 changed files
- Comments generated: 5
- Review effort level: Medium
| engine: claude | ||
| network: | ||
| allowed: [defaults, node, go, "api.github.com", "ghcr.io"] | ||
| allowed: [defaults, node, go, "api.github.com", containers] |
|
|
||
| ## Docker Image Version Checking | ||
|
|
||
| After checking CLI tools, also check the Docker images defined in `./pkg/cli/docker_images.go` for updates. |
| | `ZizmorImage` | `ghcr.io/zizmorcore/zizmor:latest` | `https://api.github.com/repos/zizmorcore/zizmor/releases/latest` | | ||
| | `PoutineImage` | `ghcr.io/boostsecurityio/poutine:latest` | `https://api.github.com/repos/boostsecurityio/poutine/releases/latest` | | ||
| | `RunnerGuardImage` | `ghcr.io/vigilant-llc/runner-guard:latest` | `https://api.github.com/repos/vigilant-llc/runner-guard/releases/latest` | | ||
| | `YamllintImage` | `pipelinecomponents/yamllint:latest` | `https://api.github.com/repos/PipelineComponents/yamllint/releases/latest` | |
| TOKEN=$(curl -s "https://auth.docker.io/token?scope=repository:anchore/syft:pull&service=registry.docker.io" | jq -r .token) | ||
| # Fetch the manifest digest (amd64 manifest list or single-arch) | ||
| curl -sI \ | ||
| -H "Authorization: ******" \ |
Comment on lines
+252
to
+253
| docker manifest inspect "ghcr.io/zizmorcore/zizmor:v1.0.0" --verbose 2>/dev/null \ | ||
| | jq -r 'if type == "array" then .[0].Descriptor.digest else .config.digest end' |
Contributor
|
🎉 This pull request is included in a new release. 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.
Extends the daily CLI version checker to also track updates for all Docker images pinned in
pkg/cli/docker_images.go(actionlint, syft, grype, grant, zizmor, poutine, runner-guard, yamllint), with a 3-day cooldown and container digest resolution before applying any update.Changes
cli-version-checker.md— frontmatternetwork.allowed:"ghcr.io"→containers(expands toghcr.io + *.docker.io + registry.hub.docker.com, enabling anonymous manifest fetches from both GHCR and Docker Hub)docker_images_checkedevalcli-version-checker.md— workflow bodypublished_atcheck (skip releases < 3 days old); SHA fetch via Docker Registry v2 API (anonymous token +Docker-Content-Digestheader for Docker Hub;docker manifest inspect/ GHCR token fallback for GHCR images)rhysd/actionlint:<tag>), versioned+digest (anchore/syft:<tag>@sha256:<digest>), and:latest-tagged images that get pinned on first update (zizmor, poutine, runner-guard, yamllint)image:tag@sha256:...), and release notes summaryUpdate Processnow coversdocker_images.goedits andmake fmtcli-version-checker.lock.ymlRecompiled to reflect network config change.