mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 02:14:29 +00:00
Merge pull request #346 from bergwolf/builder
osbuilder: use newest golang
This commit is contained in:
@@ -381,7 +381,7 @@ detect_go_version()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
info "Get Go version from ${kata_versions_file}"
|
info "Get Go version from ${kata_versions_file}"
|
||||||
GO_VERSION="$(cat "${kata_versions_file}" | $yq r - "languages.golang.version")"
|
GO_VERSION="$(cat "${kata_versions_file}" | $yq r - "languages.golang.meta.newest-version")"
|
||||||
|
|
||||||
[ "$?" == "0" ] && [ "$GO_VERSION" != "null" ]
|
[ "$?" == "0" ] && [ "$GO_VERSION" != "null" ]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user