You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
oras build fails with go toolchain not available #1350
@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
Updating the toolchain patch version works - #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 - golang/go#66175
Activity
qweeah commentedon Apr 16, 2024
@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 commentedon Apr 16, 2024
qweeah commentedon Apr 16, 2024
The error is expected, you need to upgrade go to 1.22.* and then compile oras. IMHO, no change need on ORAS side.
Amulyam24 commentedon Apr 16, 2024
Updating the toolchain patch version works - #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 - golang/go#66175
TerryHowe commentedon Apr 16, 2024
Thanks, I was having this issue too.