mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-23 10:12:10 +00:00
Merge pull request #540 from nitkon/patch-4
lib.sh: Pass right parameters to build image
This commit is contained in:
commit
e9ed1f5c55
@ -42,10 +42,8 @@ get_from_kata_deps() {
|
|||||||
# repository will pass the kernel version as an override to this function to
|
# repository will pass the kernel version as an override to this function to
|
||||||
# allow testing of kernels before they land in tree.
|
# allow testing of kernels before they land in tree.
|
||||||
if ${CI}; then
|
if ${CI}; then
|
||||||
info "Sourcing versions from local file found in runtime repository"
|
|
||||||
versions_file="${GOPATH}/src/${runtime_repo}/versions.yaml"
|
versions_file="${GOPATH}/src/${runtime_repo}/versions.yaml"
|
||||||
else
|
else
|
||||||
info "Sourcing versions from github ${branch} branch"
|
|
||||||
versions_file="versions-${branch}.yaml"
|
versions_file="versions-${branch}.yaml"
|
||||||
fi
|
fi
|
||||||
if [ ! -e "${versions_file}" ]; then
|
if [ ! -e "${versions_file}" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user