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

Support multi-arch images build and push automatically #715

Merged
merged 3 commits into from
Aug 12, 2024

Conversation

hzxuzhonghu
Copy link
Member

What type of PR is this?

What this PR does / why we need it:

Support multi-arch images build and push automatically for both push on main and new tag

Which issue(s) this PR fixes:
Fixes #714

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


…in branch and tag

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
dockerfile Outdated
Copy link
Member Author

Choose a reason for hiding this comment

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

Should i shoud put this file into build/docker

Copy link

codecov bot commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.77%. Comparing base (aee3fee) to head (ccf8199).
Report is 9 commits behind head on main.

see 2 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 77cadb3...ccf8199. Read the comment docs.

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
@@ -0,0 +1,26 @@
FROM ghcr.io/kmesh-net/kmesh-build:latest AS builder
Copy . /kmesh
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Copy . /kmesh
COPY . /kmesh

Signed-off-by: Zhonghu Xu <xuzhonghu@huawei.com>
- "**/*.md"

tags:
- "v*.*.*"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't kmesh's TAG cancel the 'v'?

Copy link
Member Author

Choose a reason for hiding this comment

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

maybe a separate issue, why strip v prefix

Copy link
Collaborator

Choose a reason for hiding this comment

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

Because there is a PR in the Kurator community for removing the prefix v
kurator-dev/kurator#433

Copy link
Member Author

Choose a reason for hiding this comment

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

@hzxuzhonghu
Copy link
Member Author

/retest

@nlgwcy
Copy link
Contributor

nlgwcy commented Aug 12, 2024

/lgtm
/approve

@kmesh-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nlgwcy

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

@kmesh-bot kmesh-bot merged commit 68725da into kmesh-net:main Aug 12, 2024
8 checks passed
@hzxuzhonghu hzxuzhonghu deleted the multi-arch-image branch August 13, 2024 01:11
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.

Support multi-arch docker image for each merge
5 participants