Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Docker build/push should not use a matrix #2544

Merged
merged 1 commit into from
Jan 4, 2023
Merged

🐛 Docker build/push should not use a matrix #2544

merged 1 commit into from
Jan 4, 2023

Conversation

vincepri
Copy link
Contributor

@vincepri vincepri commented Jan 4, 2023

By using a matrix github actions spins up different VMs to build these images, upon pushing tags and the manifest, the different VMs have no information about the other builds, so each build context will build and push a manifest only for its own image.

Signed-off-by: Vince Prignano [email protected]

Summary

Related issue(s)

Fixes #

@openshift-ci openshift-ci bot requested review from davidfestal and ncdc January 4, 2023 16:02
@vincepri
Copy link
Contributor Author

vincepri commented Jan 4, 2023

/assign @ncdc

@@ -60,14 +54,14 @@ jobs:
type=raw,value=${{ env.sha_short }}
Copy link
Member

Choose a reason for hiding this comment

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

Not in the direct scope, but maybe an opportunity to have that replaced with type=sha,prefix=,suffix=,format=short so the logic that computes / sets sha_short can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done ptal

Copy link
Member

Choose a reason for hiding this comment

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

Looks good, thanks!

By using a matrix github actions spins up different VMs to build these
images, upon pushing tags and the manifest, the different VMs have no
information about the other builds, so each build context will build and
push a manifest only for its own image.

Signed-off-by: Vince Prignano <[email protected]>
@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 4, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ncdc

The full list of commands accepted by this bot can be found here.

The pull request process is described here

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 4, 2023
@openshift-merge-robot openshift-merge-robot merged commit 6f07d58 into kcp-dev:main Jan 4, 2023
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.

4 participants