Closed Amulyam24 closed 2 months ago
@Amulyam24 Thanks for reporting this issue. I am using Ubuntu 20.04 with go 1.22.1 and I cannot reproduce this issue. What is the version of the go binary you are using?
@Amulyam24 Thanks for reporting this issue. I am using Ubuntu 20.04 with go 1.22.1 and I cannot reproduce this issue. Hi @qweeah, with go 1.22 it works.
What is the version of the go binary you are using? 1.21.3
The error is expected, you need to upgrade go to 1.22.* and then compile oras. IMHO, no change need on ORAS side.
Updating the toolchain patch version works - https://github.com/oras-project/oras/pull/1351 and this won't need updating the go version as it is handled internally by downloading the desired version for the build Is it not the desired approach? Reference - https://github.com/golang/go/issues/66175
Thanks, I was having this issue too.
What happened in your environment?
What did you expect to happen?
Binary to be built successfully.
How can we reproduce it?
What is the version of your ORAS CLI?
Build failing
What is your OS environment?
Ubuntu 22.04.4 LTS
Are you willing to submit PRs to fix it?