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

oras manifest fetch fails on oci image layout target #764

Closed
1 task done
qweeah opened this issue Jan 28, 2023 · 0 comments · Fixed by #766
Closed
1 task done

oras manifest fetch fails on oci image layout target #764

qweeah opened this issue Jan 28, 2023 · 0 comments · Fixed by #766
Labels
bug Something isn't working

Comments

@qweeah
Copy link
Contributor

qweeah commented Jan 28, 2023

What happened in your environment?

I have an image tagged test stored in oci-root folder, I am able to pull it but unable to use oras manifest fetch to get the manifest content.

What did you expect to happen?

oras manifest fetch should show the manifest content of oci-root\:test

How can we reproduce it?

$ echo image > image

$ oras push oci-root/:test image --oci-layout

$ oras repo tags oci-root --oci-layout
test

$ oras pull oci-root/:test --oci-layout
Downloading 0d566894635a image
Downloaded  0d566894635a image
Pulled [oci-layout] oci-root/:test
Digest: sha256:b311ca6afe69cec37e3cf3d6a56369be78de91bb0523dbdf4c40a23a65d7a0d1       

$ oras manifest fetch oci-root/:test --oci-layout
Error: not found

What is the version of your ORAS CLI?

I build it from the main branch of ORAS (last commit: 735ce35)

What is your OS environment?

20.04

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.
@qweeah qweeah added the bug Something isn't working label Jan 28, 2023
shizhMSFT pushed a commit that referenced this issue Jan 29, 2023
TerryHowe pushed a commit to TerryHowe/oras that referenced this issue Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant