Skip to content

Sync Dockerfile version labels during git-release#1302

Open
rhmdnd wants to merge 1 commit into
ComplianceAsCode:masterfrom
rhmdnd:sync-dockerfile-versions
Open

Sync Dockerfile version labels during git-release#1302
rhmdnd wants to merge 1 commit into
ComplianceAsCode:masterfrom
rhmdnd:sync-dockerfile-versions

Conversation

@rhmdnd

@rhmdnd rhmdnd commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

The git-release Makefile target updates version/version.go and
version.Makefile but not the version labels in the production
Dockerfiles or the version ARGs in bundle.openshift.Dockerfile.
This causes them to drift out of sync after each release.

Add sed commands to git-release to update:

  • version= labels in images/operator/Dockerfile,
    images/openscap/Containerfile, and images/must-gather/Containerfile
  • CO_OLD_VERSION and CO_NEW_VERSION ARGs in bundle.openshift.Dockerfile

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

The git-release Makefile target updates version/version.go and
version.Makefile but not the version labels in the production
Dockerfiles or the version ARGs in bundle.openshift.Dockerfile.
This causes them to drift out of sync after each release.

Add sed commands to git-release to update:
- version= labels in images/operator/Dockerfile,
  images/openscap/Containerfile, and images/must-gather/Containerfile
- CO_OLD_VERSION and CO_NEW_VERSION ARGs in bundle.openshift.Dockerfile

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci
openshift-ci Bot requested review from Vincent056 and xiaojiey July 9, 2026 20:20
@openshift-ci openshift-ci Bot added the approved label Jul 9, 2026
@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🤖 To deploy this PR, run the following command:

make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1302-68a2512a7bc2d6ae1538cc1ad596d747f2eaaa33

@openshift-ci

openshift-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhmdnd, taimurhafeez

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:
  • OWNERS [rhmdnd,taimurhafeez]

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

@openshift-ci openshift-ci Bot added the lgtm label Jul 10, 2026
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.

2 participants