Skip to content

build: update to use PUSH_TARGETS to generate list of images for hack/push-container-manifest.sh#3998

Merged
kubevirt-bot merged 2 commits into
kubevirt:mainfrom
Acedus:bazel-push-images-use-skopeo
Dec 25, 2025
Merged

build: update to use PUSH_TARGETS to generate list of images for hack/push-container-manifest.sh#3998
kubevirt-bot merged 2 commits into
kubevirt:mainfrom
Acedus:bazel-push-images-use-skopeo

Conversation

@Acedus
Copy link
Copy Markdown
Contributor

@Acedus Acedus commented Dec 25, 2025

What this PR does / why we need it:
Rather than dynamically finding the images names in hack/bazel-push-images.sh - use the list of PUSH_TARGETS that is already present. This fixes an issue where the digests would be missing after finishing the push since the transition from rules_docker to rules_oci as rules_oci doesn't create a digest file after pushing the image.

Also add a check to see if the remote image exists before adding it to the multiarch manifest.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:
Depends on #3997.
xref: kubevirt/kubevirt#15741, kubevirt/kubevirt#15793

Release note:

NONE

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Dec 25, 2025
@Acedus Acedus force-pushed the bazel-push-images-use-skopeo branch 3 times, most recently from 0a2dabc to 2415163 Compare December 25, 2025 18:51
@Acedus Acedus force-pushed the bazel-push-images-use-skopeo branch from 2415163 to 06e6460 Compare December 25, 2025 18:58
@coveralls
Copy link
Copy Markdown

coveralls commented Dec 25, 2025

Coverage Status

coverage: 49.389% (+0.02%) from 49.365%
when pulling 06e6460 on Acedus:bazel-push-images-use-skopeo
into a38f16d on kubevirt:main.

Copy link
Copy Markdown
Collaborator

@akalenyu akalenyu left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 25, 2025
@kubevirt-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akalenyu

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 25, 2025
@Acedus
Copy link
Copy Markdown
Contributor Author

Acedus commented Dec 25, 2025

/test pull-containerized-data-importer-fossa

@kubevirt-bot kubevirt-bot merged commit 4a41a92 into kubevirt:main Dec 25, 2025
21 checks passed
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants