Skip to content

Update registry.redhat.io/ubi9/go-toolset Docker tag to v9.8-1786522985 - #443

Open
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/registry.redhat.io-ubi9-go-toolset-9.x
Open

Update registry.redhat.io/ubi9/go-toolset Docker tag to v9.8-1786522985#443
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/registry.redhat.io-ubi9-go-toolset-9.x

Conversation

@red-hat-konflux

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
registry.redhat.io/ubi9/go-toolset stage patch 9.8-17864955889.8-1786522985

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Aug 13, 2026
@openshift-ci
openshift-ci Bot requested review from JoaoFula and harche August 13, 2026 00:12
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated the build environment to a newer Go toolset image version.

Walkthrough

The Dockerfile now uses UBI Go toolset image version 9.8-1786522985 for the builder stage instead of 9.8-1786495588.

Changes

Builder Image

Layer / File(s) Summary
Update builder image
Dockerfile
The builder stage uses UBI Go toolset image version 9.8-1786522985.

Mergeability Score: 🟡 Moderate · up to 160a9

This PR changes the builder image to a build-specific reference that is not approved under the stated image requirements. Merging without replacing it or documenting an exception could leave the build out of compliance, so owner resolution is needed before merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the Docker image and the exact tag update.
Description check ✅ Passed The description accurately documents the Docker image tag update and merge configuration.
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.

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

@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

@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 2: Update the Dockerfile builder stage’s FROM reference to an approved
UBI minimal or distroless builder image, replacing the build-specific go-toolset
tag; if that image is required, document the applicable builder-stage exception
instead.
🪄 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: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a6eb389c-2124-4a35-b15c-0472ec08a740

📥 Commits

Reviewing files that changed from the base of the PR and between 3a4853a and 160a9c5.

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

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

  • openshift/lightspeed-agentic-sandbox (manual)

Comment thread Dockerfile
@@ -1,5 +1,5 @@
# Build the manager binary
FROM registry.redhat.io/ubi9/go-toolset:9.8-1786495588 AS builder
FROM registry.redhat.io/ubi9/go-toolset:9.8-1786522985 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:

#!/bin/bash
set -euo pipefail

ref="$(sed -n '2p' Dockerfile)"
printf 'Builder reference: %s\n' "$ref"

if grep -Eq '^FROM registry\.redhat\.io/ubi9/go-toolset:[0-9]+\.[0-9]+-[0-9]+ AS builder$' <<<"$ref"; then
  echo "Non-compliant build-specific Red Hat builder tag." >&2
  exit 1
fi

if command -v skopeo >/dev/null 2>&1; then
  image="$(sed -n '2p' Dockerfile | sed -E 's/^FROM ([^ ]+) AS builder$/\1/')"
  skopeo inspect "docker://${image}" >/dev/null
else
  echo "Use skopeo or podman to verify the approved image reference." >&2
  exit 2
fi

Repository: openshift/lightspeed-agentic-operator

Length of output: 310


🏁 Script executed:

#!/bin/bash
set -euo pipefail

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

printf '%s\n' '--- Dockerfile-related files ---'
git ls-files | grep -E '(^|/)(Dockerfile|Containerfile)([^/]*)?$' || true

printf '%s\n' '--- Relevant repository policy and image references ---'
rg -n --hidden -S \
  'ubi9/go-toolset|catalog\.redhat\.com|registry\.redhat\.io|FROM |floating tag|base image|Dockerfile|Containerfile' \
  -g '!vendor/**' -g '!node_modules/**' -g '!dist/**' . | head -300

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

Repository: openshift/lightspeed-agentic-operator

Length of output: 9398


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- Container security instructions ---'
sed -n '140,170p' .coderabbit.yaml

printf '%s\n' '--- Dockerfile change metadata ---'
git diff --unified=20 -- Dockerfile
git status --short
git rev-parse HEAD
git rev-parse HEAD^ 2>/dev/null || true

printf '%s\n' '--- Previous and current builder references ---'
printf 'current: '; git show HEAD:Dockerfile | sed -n '2p'
printf 'parent:  '; git show HEAD^:Dockerfile 2>/dev/null | sed -n '2p' || true

printf '%s\n' '--- References to builder-stage policy or exceptions ---'
rg -n -i --hidden \
  'builder.stage|builder stage|go-toolset|floating tag|floating tags|base image|catalog\.redhat\.com' \
  .coderabbit.yaml .ai docs .github 2>/dev/null || true

Repository: openshift/lightspeed-agentic-operator

Length of output: 2486


Use a compliant builder image reference.

registry.redhat.io/ubi9/go-toolset:9.8-1786522985 uses a build-specific tag and is not a UBI minimal or distroless image. Replace it with an approved builder image reference, or document the applicable builder-stage exception.

🤖 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 2, Update the Dockerfile builder stage’s FROM reference
to an approved UBI minimal or distroless builder image, replacing the
build-specific go-toolset tag; if that image is required, document the
applicable builder-stage exception instead.

Source: Path instructions

@openshift-ci

openshift-ci Bot commented Aug 13, 2026

Copy link
Copy Markdown

@red-hat-konflux[bot]: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants