-
Notifications
You must be signed in to change notification settings - Fork 113
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
feat: pull and push from oci registry #483
Conversation
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack. |
models/oci/oci.go
Outdated
|
||
_ , err = oras.Copy(ctx, repo, imageTag, fs, imageTag, oras.DefaultCopyOptions) | ||
if err != nil { | ||
return ErrGettingImage(err) |
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.
The suggested remediation and probable cause for this error code are pretty terribly written.
Line 44 in 75d94b9
func ErrGettingImage(err error) error { |
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
7b6b3f3
to
786029e
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.
Except for the description of the errors, the rest LGTM.
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
8b38d71
to
78259d6
Compare
Lint checks failing, @RipulHandoo. Please fix. |
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
463b931
to
dd397e7
Compare
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
Signed-off-by: Ripul Handoo <ripulhandoo1234@gmail.com>
I believe there might be an issue with the lint check. I addressed the previous error related to the |
@RipulHandoo, you're saying the the lint check test is invalid? That the tool doesn't work? Or that it's configuration is out of date - - which might be the case. |
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
@RipulHandoo this might help - #486 |
…lint [Chore] Workflow action update for golangci-lint to 4.0
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
Signed-off-by: MUzairS15 <muzair.shaikh810@gmail.com>
@RipulHandoo Be sure to run gofmt, I have pushed the commit, but make sure to do it yourself. |
Thanks for your contribution to Meshery! 🎉 ![]() |
Description
This PR fixes #
Notes for Reviewers
Signed commits