Skip to content

Update registry.access.redhat.com/ubi9/go-toolset Docker tag to v9.8-1786351949 - #272

Merged
openshift-merge-bot[bot] merged 1 commit into
mainfrom
konflux/mintmaker/main/docker-image-updates
Aug 10, 2026
Merged

Update registry.access.redhat.com/ubi9/go-toolset Docker tag to v9.8-1786351949#272
openshift-merge-bot[bot] merged 1 commit into
mainfrom
konflux/mintmaker/main/docker-image-updates

Conversation

@red-hat-konflux-kflux-prd-rh02

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
registry.access.redhat.com/ubi9/go-toolset stage patch 9.8-17860232379.8-1786351949

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

…1786351949

Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
@openshift-ci
openshift-ci Bot requested review from aredenba-rh and ldornele August 10, 2026 16:02
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated the build environment to a newer version.
    • No user-facing functionality or behavior changed.

Walkthrough

The Dockerfile updates the builder stage from ubi9/go-toolset:9.8-1786023237 to ubi9/go-toolset:9.8-1786351949.

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

Suggested reviewers: ciaranroche

🚥 Pre-merge checks | ✅ 11
✅ Passed checks (11 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Sec-02: Secrets In Log Output ✅ Passed CWE-532 audit found 217 production logging/output calls and zero token, password, credential, or secret terms; the PR changes only Dockerfile.
No Hardcoded Secrets ✅ Passed The PR changes only one Dockerfile image tag; the added line contains no credentials, secret-like assignment, private key, credentialed URL, or >32-character base64 string.
No Weak Cryptography ✅ Passed Only the Docker builder image tag changed. The patch adds no banned primitive, ECB, custom crypto, or secret comparison; no CWE-327 or CWE-208 issue is introduced.
No Injection Vectors ✅ Passed The PR changes only a pinned Dockerfile FROM tag; no SQL, exec.Command, template.HTML, or yaml.Unmarshal pattern was added. No CWE-89, CWE-78, CWE-79, or CWE-502 vector is present.
No Privileged Containers ✅ Passed The PR only changes the builder image tag. USER root is documented for package installation and both Dockerfiles switch to non-root; no prohibited production manifest settings were added.
No Pii Or Sensitive Data In Logs ✅ Passed The PR changes only the Docker builder image tag. The added line contains no logging call, request/response body, PII, session ID, or hostname credential.
Title check ✅ Passed The title clearly identifies the Docker image and the exact tag update.
Description check ✅ Passed The description directly documents the Docker image tag update and related merge configuration.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/docker-image-updates
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch konflux/mintmaker/main/docker-image-updates

Comment @coderabbitai help to get the list of available commands.

@hyperfleet-ci-bot

Copy link
Copy Markdown

Risk Score: 0 — risk/low

Signal Detail Points
PR size 2 lines +0
Sensitive paths none +0

Computed by hyperfleet-risk-scorer

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Dockerfile`:
- Line 3: Update the Dockerfile builder FROM reference to retain its existing
tag while appending the specified sha256 digest, and replace the mutable default
BASE_IMAGE value for ubi9-micro:latest with a verified digest-pinned image
reference. Keep the existing image roles and build flow unchanged.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 0c86bdf7-ae09-4c65-b9ab-f434f2fde309

📥 Commits

Reviewing files that changed from the base of the PR and between d249c5b and 650b3f1.

📒 Files selected for processing (1)
  • Dockerfile
🔗 Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

Comment thread Dockerfile
ARG BASE_IMAGE=registry.access.redhat.com/ubi9-micro:latest

FROM registry.access.redhat.com/ubi9/go-toolset:9.8-1786023237 AS builder
FROM registry.access.redhat.com/ubi9/go-toolset:9.8-1786351949 AS builder

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

image='registry.access.redhat.com/ubi9/go-toolset:9.8-1786351949'
digest="$(skopeo inspect --format '{{.Digest}}' "docker://${image}")"

test -n "${digest}"
printf 'Use: %s@%s\n' "${image}" "${digest}"

Repository: openshift-hyperfleet/hyperfleet-adapter

Length of output: 221


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- Dockerfile ---'
cat -n Dockerfile

printf '%s\n' '--- related container files ---'
find . -maxdepth 2 -type f \( -iname 'Dockerfile*' -o -iname 'Containerfile*' -o -name '.dockerignore' \) -print

Repository: openshift-hyperfleet/hyperfleet-adapter

Length of output: 2626


🏁 Script executed (no clone):

#!/usr/bin/env bash
set -euo pipefail

image='registry.access.redhat.com/ubi9/go-toolset'
tag='9.8-1786351949'
url="https://${image}/manifests/${tag}"
accept='application/vnd.oci.image.index.v1+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json'

curl --fail --silent --show-error --location \
  -H "Accept: ${accept}" \
  -D /tmp/manifest-headers \
  -o /tmp/manifest \
  "${url}"

printf '%s\n' '--- response digest ---'
awk 'BEGIN{IGNORECASE=1} /^Docker-Content-Digest:/ {print}' /tmp/manifest-headers
printf '%s\n' '--- manifest media type and digest ---'
jq -r '.mediaType // "no-json-media-type", (.manifests[]? | [.platform.os, .platform.architecture, .digest] | `@tsv`)' /tmp/manifest

Length of output: 176


🏁 Script executed (no clone):

#!/usr/bin/env bash
set -euo pipefail

repo='ubi9/go-toolset'
tag='9.8-1786351949'
url="https://registry.access.redhat.com/v2/${repo}/manifests/${tag}"
accept='application/vnd.oci.image.index.v1+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.docker.distribution.manifest.v2+json'

curl --fail --silent --show-error --location \
  -H "Accept: ${accept}" \
  -D /tmp/manifest-headers \
  -o /tmp/manifest \
  "${url}"

printf '%s\n' '--- response digest ---'
awk 'BEGIN{IGNORECASE=1} /^Docker-Content-Digest:/ {print}' /tmp/manifest-headers
printf '%s\n' '--- manifest ---'
jq -c '{mediaType, schemaVersion, manifests: [.manifests[]? | {platform, digest}]}' /tmp/manifest

Length of output: 921


🏁 Script executed:

#!/usr/bin/env bash
set -euo pipefail

printf '%s\n' '--- all FROM instructions and base-image declarations ---'
rg -n '^\s*(ARG .*IMAGE|FROM )' Dockerfile 'test/Dockerfile.integration' || true

printf '%s\n' '--- container hardening guidance ---'
rg -n -A8 -B3 'digest|base image|container' ../architecture/hyperfleet/standards ../architecture/hyperfleet/components 2>/dev/null || true

Repository: openshift-hyperfleet/hyperfleet-adapter

Length of output: 548


Pin the builder and runtime base images by digest.

The builder tag resolves to sha256:0b471eb04868f3d9d90bf3c668f9c6c7a22cef07474ac9fec067909dfd7dec7c. Retain the tag and add this digest. The default BASE_IMAGE also uses mutable ubi9-micro:latest; replace it with a verified digest-pinned reference. Mutable tags create supply-chain risk (CWE-494).

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Dockerfile` at line 3, Update the Dockerfile builder FROM reference to retain
its existing tag while appending the specified sha256 digest, and replace the
mutable default BASE_IMAGE value for ubi9-micro:latest with a verified
digest-pinned image reference. Keep the existing image roles and build flow
unchanged.

Source: Path instructions

@rafabene

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci

openshift-ci Bot commented Aug 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rafabene

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 881102e into main Aug 10, 2026
9 checks passed
@red-hat-konflux-kflux-prd-rh02
red-hat-konflux-kflux-prd-rh02 Bot deleted the konflux/mintmaker/main/docker-image-updates branch August 10, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant