Skip to content

chore(container): replace nonexistent Chainguard tags with latest - #232

Open
hyperpolymath wants to merge 1 commit into
mainfrom
chore/chainguard-tag-latest
Open

hyperpolymath wants to merge 1 commit into
mainfrom
chore/chainguard-tag-latest

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Replaces Chainguard image tags that are not published (22.04, 3.18, 3.20, bookworm-slim, node:20) with :latest, matching the rest of the estate.

Only the listed Containerfile paths changed. Found by a code search for cgr.dev/chainguard.

Tags such as 22.04, 3.18, 3.20, bookworm-slim and node:20 are not published for these Chainguard images. Use latest, as the other Containerfiles in the estate do.
@gitnotebooks

gitnotebooks Bot commented Dec 5, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Chores
    • Updated both container examples to use the latest Wolfi base image instead of the 22.04 image. The remaining instructions are unchanged.

Both example container build files change the Wolfi base image tag from 22.04 to latest. No other instructions change.

Changes: Wolfi example images

Layer / File(s) Summary
Update example base image tags
asdf-augmenters/asdf-ghjk/examples/Containerfile, asdf-augmenters/asdf-ghjk/examples/Dockerfile
Both files now use cgr.dev/chainguard/wolfi-base:latest as the base image.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Merge Risk: Minimal · up to 5fbd6

The change points two example container files at the published latest Wolfi base image instead of a tag that does not exist. It has minimal impact on users and is safe to merge. The secret-scanner CI failures come from a workflow lockfile pin problem and are not caused by this change.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: Containerfile base image tags that Chainguard does not publish are replaced with :latest. The raw summary confirms the Containerfile and Dockerfile changes match this…
Description check Passed The description states what changed: nonexistent Chainguard tags (22.04, 3.18, 3.20, bookworm-slim, node:20) are replaced with :latest. It also states that only the listed Containerfile paths changed …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: Containerfile base image tags that Chainguard does not publish are replaced with :latest. The raw summary confirms the Containerfile and Dockerfile changes match this title, and the objectives describe the same tag replacement. The title does not name every file, which is expected.

Full details: Description check

Explanation

The description states what changed: nonexistent Chainguard tags (22.04, 3.18, 3.20, bookworm-slim, node:20) are replaced with :latest. It also states that only the listed Containerfile paths changed and how they were found. This relates directly to the changeset.

Finishing Touches

Fix failing CI checks

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: fccccab9-6e92-4921-afba-fe89bf9fb732
Commits

Reviewing files that changed from the base of the PR and between 8636905 and 5fbd6f6.

Files selected for processing: 2

  • asdf-augmenters/asdf-ghjk/examples/Containerfile
  • asdf-augmenters/asdf-ghjk/examples/Dockerfile

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 4

  • GitHub Check: CodeRabbit
  • GitHub Check: analyze (javascript-typescript, none)
  • GitHub Check: Validate DEED manifests
  • GitHub Check: semgrep-cloud-platform/scan
CI failures not shown inline: 3

GitHub Actions: Secret Scanner / scan _ gitleaks: chore(container): replace nonexistent Chainguard tags with latest

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]Unable to resolve action `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile

GitHub Actions: Secret Scanner / scan _ rust-secrets: chore(container): replace nonexistent Chainguard tags with latest

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]Unable to resolve action `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile

GitHub Actions: Secret Scanner / scan _ shell-secrets: chore(container): replace nonexistent Chainguard tags with latest

Conclusion: failure

View job details

##[group]GITHUB_TOKEN Permissions
 Contents: read
 Metadata: read
 ##[endgroup]
 Secret source: Actions
 Cache mode: write
 Using locked action versions from the workflow's lockfile
 Prepare workflow directory
 Prepare all required actions
 Getting action download info
 ##[error]Unable to resolve action `actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1`: invalid lockfile pin. Run `gh actions-lock` to update the lockfile
Additional context used

Code guidelines: 1

asdf-augmenters/asdf-ghjk/CLAUDE.md — auto-discovered
Skipped guideline sources: 5

Not fully prepared for this review (preparing guideline files took longer than 2 minutes): 5 files
  v-ecosystem/v-rest/.windsurfrules
  v-ecosystem/v-telemetry/.windsurfrules
  v-ecosystem/v-validator/.windsurfrules
  v-ecosystem/v-zig-ffi/.cursorrules
  v-ecosystem/v-zig-ffi/.windsurfrules
Path-based instructions: 1

Source excerpt: This plugin must follow the [asdf plugin development guidelines](https://asdf-vm.com/plugins/create.html): **Script Exit Codes**: Exit 0 for success Exit non-zero for failure Source excerpt: Use `#!/usr/bin/env bash` as sheb...

CodeRabbit inference engine (asdf-augmenters/asdf-ghjk/CLAUDE.md)

Files:

  • asdf-augmenters/asdf-ghjk/examples/Containerfile
  • asdf-augmenters/asdf-ghjk/examples/Dockerfile
Checkov (3.4.5)

asdf-augmenters/asdf-ghjk/examples/Dockerfile

[low] 4-4: Ensure the base image uses a non latest version tag

(CKV_DOCKER_7)

[low] 1-44: Ensure that HEALTHCHECK instructions have been added to container images

(CKV_DOCKER_2)

[low] 1-44: Ensure that a user for the container has been created

(CKV_DOCKER_3)

Hadolint (2.15.1)

asdf-augmenters/asdf-ghjk/examples/Dockerfile

[warning] 4-4: Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag

(DL3007)

Trivy (0.76.2)

asdf-augmenters/asdf-ghjk/examples/Containerfile

[warning] 4-4: ':latest' tag used

Specify a tag in the 'FROM' statement for image 'cgr.dev/chainguard/wolfi-base'

Rule: DS-0001

Learn more

(IaC/Dockerfile)

asdf-augmenters/asdf-ghjk/examples/Dockerfile

[warning] 4-4: ':latest' tag used

Specify a tag in the 'FROM' statement for image 'cgr.dev/chainguard/wolfi-base'

Rule: DS-0001

Learn more

(IaC/Dockerfile)

@linear-code
linear-code Bot marked this pull request as ready for review December 5, 2026 07:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-05T07:48:45.917624Z
We couldn’t complete this review. Comment @codex review to try again.
5fbd6f6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

This branch has not been deployed

No deployments
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