Skip to content

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

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#246
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 mbrudnoy and sherine-k 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 use a newer builder image version.

Walkthrough

The Docker builder stage now uses image tag 9.8-1786351949 instead of 9.8-1786023237.

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 The PR changes only the Dockerfile image tag; no slog, log, logr, zap, or fmt.Print* statement or secret field/interpolation was added.
No Hardcoded Secrets ✅ Passed The only change is a public UBI image tag; it adds no API key, token, password, private key, embedded credentials, or base64 secret.
No Weak Cryptography ✅ Passed The patch changes only the UBI Go builder tag; changed-line and Go-source scans found no md5, des, rc4, SHA-1, ECB, custom crypto, or unsafe secret comparison (no CWE/CVE triggered).
No Injection Vectors ✅ Passed PR changes only the Dockerfile builder image tag; the patch adds no SQL, command, template, or YAML sink, so CWE-78, CWE-79, CWE-89, and CWE-502 do not apply.
No Privileged Containers ✅ Passed The patch changes only the builder image tag. The documented root step installs make, then switches to UID 1001; the runtime uses UID 65532, with no privileged flags or host namespaces found.
No Pii Or Sensitive Data In Logs ✅ Passed The PR changes only the Dockerfile base-image tag; the verified diff adds no slog, logr, zap, log, or fmt.Print logging statements.
Title check ✅ Passed The title clearly identifies the Docker image and the exact tag update in the changeset.
Description check ✅ Passed The description directly documents the Docker image tag update and matches the changeset.
✨ 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.

@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: Pin both Docker base image references by digest: append the specified
manifest-list digest to the builder image in the FROM instruction, and update
the runtime default BASE_IMAGE to use its corresponding immutable digest while
preserving the existing tags and build flow.
🪄 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: 9dad9a42-1c2f-4b73-93ca-76522cf03223

📥 Commits

Reviewing files that changed from the base of the PR and between 78bded2 and 10dedec.

📒 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
skopeo inspect --format '{{.Name}}@{{.Digest}}' \
  docker://registry.access.redhat.com/ubi9/go-toolset:9.8-1786351949

Repository: openshift-hyperfleet/hyperfleet-sentinel

Length of output: 222


🏁 Script executed:

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

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

printf '%s\n' '--- Docker-related files ---'
git ls-files | rg '(^|/)(Dockerfile|Containerfile)([^/]*$)|(^|/)\.dockerignore$' || true

printf '%s\n' '--- relevant diff summary ---'
git diff --stat
git diff -- Dockerfile

Repository: openshift-hyperfleet/hyperfleet-sentinel

Length of output: 2564


🏁 Script executed (no clone):

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

image='registry.access.redhat.com/ubi9/go-toolset'
tag='9.8-1786351949'

printf '%s\n' '--- registry manifest headers ---'
curl --fail-with-body -sSIL \
  -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' \
  -H 'Accept: application/vnd.oci.image.manifest.v1+json' \
  "https://${image}/manifests/${tag}" || true

printf '%s\n' '--- registry manifest response headers ---'
curl --fail-with-body -sS -D - -o /dev/null \
  -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' \
  -H 'Accept: application/vnd.oci.image.manifest.v1+json' \
  "https://${image}/manifests/${tag}" || true

Length of output: 698


🏁 Script executed (no clone):

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

repo='ubi9/go-toolset'
tag='9.8-1786351949'

printf '%s\n' '--- registry API ---'
curl -sS -D - -o /tmp/registry-v2-response \
  'https://registry.access.redhat.com/v2/' || true
cat /tmp/registry-v2-response

printf '%s\n' '--- image manifest through registry API ---'
curl -sS -D /tmp/manifest-headers -o /tmp/manifest-body \
  -H 'Accept: application/vnd.oci.image.index.v1+json' \
  -H 'Accept: application/vnd.docker.distribution.manifest.list.v2+json' \
  -H 'Accept: application/vnd.oci.image.manifest.v1+json' \
  "https://registry.access.redhat.com/v2/${repo}/manifests/${tag}" || true
cat /tmp/manifest-headers
printf '%s\n' '--- manifest body ---'
cat /tmp/manifest-body

printf '%s\n' '--- catalog API candidates ---'
for url in \
  "https://catalog.redhat.com/api/containers/v1/repositories/registry/registry.access.redhat.com/ubi9/go-toolset" \
  "https://catalog.redhat.com/api/containers/v1/repositories/registry/ubi9/go-toolset" \
  "https://catalog.redhat.com/api/containers/v1/repositories/registry/registry.access.redhat.com/ubi9/go-toolset/tags/${tag}"; do
  printf 'URL: %s\n' "$url"
  curl -sS -L -w '\nHTTP %{http_code}\n' "$url" | head -c 4000
  printf '\n'
done

Length of output: 2567


🌐 Web query:

registry.access.redhat.com ubi9/go-toolset 9.8-1786351949 manifest digest

💡 Result:

The manifest digest for a specific container image tag like registry.access.redhat.com/ubi9/go-toolset:9.8-1786351949 is not a single, universally static value because these tags are updated frequently by Red Hat as part of their security patching and maintenance cycle [1][2][3]. To obtain the current manifest digest for this specific image tag, you should use one of the following authoritative methods: 1. Red Hat Ecosystem Catalog: Visit the official Red Hat Ecosystem Catalog page for the UBI 9 Go Toolset [4]. This site provides the official manifest list digest for the current version of the image, which ensures you pull the correct, supported image for your architecture [4]. 2. Skopeo: Use the skopeo tool to inspect the image remotely without pulling it to your local system [5]. This command will return the digest associated with the tag: skopeo inspect docker://registry.access.redhat.com/ubi9/go-toolset:9.8-1786351949 3. Docker/Podman: You can also identify the digest after pulling the image by running: podman images --digests --no-trunc or docker images --digests --no-trunc Because Red Hat container tags are mutable and updated regularly, referencing them by tag rather than digest may lead to pulling different image content over time [6][7]. It is a recommended best practice to verify the specific digest for your environment at the time of your build using the methods above [6].

Citations:


Pin both container base images by digest before merge.

Line 3 resolves to manifest-list digest sha256:0b471eb04868f3d9d90bf3c668f9c6c7a22cef07474ac9fec067909dfd7dec7c:

FROM registry.access.redhat.com/ubi9/go-toolset:9.8-1786351949@sha256:0b471eb04868f3d9d90bf3c668f9c6c7a22cef07474ac9fec067909dfd7dec7c AS builder

Pin the runtime default BASE_IMAGE at line 1 as well. Tag-only references permit different image contents across builds, creating a supply-chain integrity risk under 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, Pin both Docker base image references by digest:
append the specified manifest-list digest to the builder image in the FROM
instruction, and update the runtime default BASE_IMAGE to use its corresponding
immutable digest while preserving the existing tags and build flow.

Source: Path instructions

@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

@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 8d8470b into main Aug 10, 2026
10 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:02
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