Skip to content

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

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-1786023237#332
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-17854435619.8-1786023237

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.

…1786023237

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 crizzo71 and rafabene August 10, 2026 00:04
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated the build environment to use a newer, pinned Go toolset image.
    • No user-visible functionality changes.

Walkthrough

The Dockerfile updates the builder stage from ubi9/go-toolset:9.8-1785443561 to ubi9/go-toolset: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 PASS: HEAD changes only the Dockerfile image tag; production log calls have no sensitive fields, and connection/config values are redacted before logging. No CWE-532 finding.
No Hardcoded Secrets ✅ Passed The commit changes only a UBI9 Go toolset image tag; added-line and Dockerfile scans found no secrets, credentials, private keys, embedded credentials, or long base64 strings.
No Weak Cryptography ✅ Passed PASS: The sole PR change updates a UBI9 Go toolset tag; no banned primitive, ECB mode, custom crypto, or secret comparison appears in the diff (no CWE-327 finding).
No Injection Vectors ✅ Passed Only the static pinned Dockerfile image tag changed; no SQL, exec.Command, template.HTML, or yaml.Unmarshal injection pattern was added (CWE-78/79/89/502).
No Privileged Containers ✅ Passed PASS — The patch changes only the Go toolset tag. No prohibited manifest settings exist. Existing USER root is justified for dnf install, then switches to non-root; runtime uses 65532:65532 (CWE-25...
No Pii Or Sensitive Data In Logs ✅ Passed Only Dockerfile line 3 changes the pinned UBI9 Go toolset tag; no logging statement or sensitive-data output was added. No CWE/CVE applies.
Title check ✅ Passed The title clearly identifies the updated UBI9 Go toolset Docker tag.
Description check ✅ Passed The description accurately 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.

@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’s builder base image reference to a
digest-qualified form, and ensure any BASE_IMAGE override remains
digest-qualified rather than accepting a mutable tag. Keep the existing builder
stage behavior 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: 0441da11-db77-48c7-84fc-e5adb0f84cd6

📥 Commits

Reviewing files that changed from the base of the PR and between cf39733 and df543f2.

📒 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-1785443561 AS builder
FROM registry.access.redhat.com/ubi9/go-toolset:9.8-1786023237 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-1786023237'
digest="$(skopeo inspect --format '{{.Digest}}' "docker://${image}")"

case "$digest" in
  sha256:*) ;;
  *) echo "Invalid digest: $digest" >&2; exit 1 ;;
esac

printf 'Use: %s@%s\n' "$image" "$digest"

Repository: openshift-hyperfleet/hyperfleet-api

Length of output: 217


🏁 Script executed:

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

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

printf '%s\n' '--- repository references to the image ---'
rg -n -F 'registry.access.redhat.com/ubi9/go-toolset' . --glob '!vendor/**' --glob '!node_modules/**' || true

printf '%s\n' '--- Docker-related files ---'
git ls-files '*Dockerfile*' '*dockerignore*' '.containerignore'

Repository: openshift-hyperfleet/hyperfleet-api

Length of output: 2870


🏁 Script executed (no clone):

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

image='registry.access.redhat.com/ubi9/go-toolset'
tag='9.8-1786023237'
manifest_url="https://registry.access.redhat.com/v2/ubi9/go-toolset/manifests/${tag}"

printf '%s\n' '--- registry manifest headers ---'
curl --fail --silent --show-error --location \
  -H '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' \
  -D - -o /tmp/ubi9-go-toolset-manifest.json \
  "$manifest_url" | sed -n '1,40p'

printf '%s\n' '--- registry manifest digest and shape ---'
sha_header="$(curl --fail --silent --show-error --location \
  -H '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' \
  -D - -o /dev/null "$manifest_url" | awk 'BEGIN{IGNORECASE=1} /^Docker-Content-Digest:/ {gsub("\r","",$2); print $2; exit}')"
printf 'Docker-Content-Digest: %s\n' "${sha_header:-<missing>}"
python3 - <<'PY'
import json
with open('/tmp/ubi9-go-toolset-manifest.json', encoding='utf-8') as f:
    data = json.load(f)
print('mediaType:', data.get('mediaType'))
print('schemaVersion:', data.get('schemaVersion'))
print('manifests:', len(data.get('manifests', [])))
for item in data.get('manifests', []):
    print(item.get('platform'), item.get('digest'))
PY

Length of output: 1250


🏁 Script executed (no clone):

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

manifest_url='https://registry.access.redhat.com/v2/ubi9-micro/manifests/latest'
curl --fail --silent --show-error --location \
  -H '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' \
  -D - -o /dev/null "$manifest_url" |
  awk 'BEGIN{IGNORECASE=1} /^Docker-Content-Digest:/ {gsub("\r","",$2); print "ubi9-micro:latest digest:", $2; found=1} END{if (!found) exit 1}'

Length of output: 223


Pin all base images by digest before merging.

Proposed fix
-FROM registry.access.redhat.com/ubi9/go-toolset:9.8-1786023237 AS builder
+FROM registry.access.redhat.com/ubi9/go-toolset:9.8-1786023237@sha256:5d26ff5606bd6590930e7cfc202b510e3fe2c7a7a1720860f444ab49c45128cb AS builder
-ARG BASE_IMAGE=registry.access.redhat.com/ubi9-micro:latest
+ARG BASE_IMAGE=registry.access.redhat.com/ubi9-micro:latest@sha256:b1e86b97028b8fcfb6d85f997c39e6b6b67496163ef8d80d243220a4918e8bef

Keep BASE_IMAGE overrides digest-qualified. Mutable tags allow later builds to use different image bytes and create a supply-chain integrity 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’s builder base image reference
to a digest-qualified form, and ensure any BASE_IMAGE override remains
digest-qualified rather than accepting a mutable tag. Keep the existing builder
stage behavior unchanged.

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 5e8c528 into main Aug 10, 2026
10 checks passed
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