-
Notifications
You must be signed in to change notification settings - Fork 26
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
[CI] image build logic enhancement #199
[CI] image build logic enhancement #199
Conversation
SamYuan1990
commented
Dec 1, 2023
- use latest GHA to manage container image build instead of make script.
- update logic between base image and image itself
- add arm64 and s390 image support
@SamYuan1990 The changes mostly look good to me. Is it possible to have the base image rebuild only when the relevant files are changed (Dockerfile.base and requirements.txt)? |
I will try, there two items.
but, I am curious that it seems before this PR. if we update (for example, requirement.txt) and I didn't find a line in code limit the model server image build after base image? |
f1784ce
to
1afde94
Compare
0ec3c6d
to
0a2353a
Compare
as tested locally, s390x is not supported, let's make multiple platform support later. https://github.com/SamYuan1990/kepler-model-server/actions/runs/7086334125/job/19284397824#step:6:509 + @huoqifeng in loop for information |
|
@sunya-ch , could you please help review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm Thank you. --> Sorry, need to change the review.
.github/workflows/build-push.yml
Outdated
runs-on: ubuntu-latest | ||
outputs: | ||
src: ${{ steps.changes.outputs.src }} | ||
infra: ${{ steps.changes.outputs.infra }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see infra map below.
I think we need to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need infra
in outputs. Other parts are good to go.
Signed-off-by: Sam Yuan <[email protected]>
0a2353a
to
7050463
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!