mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 07:18:27 +00:00
image: build: fix agent version.
If agent version is not defined use versions.txt Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
@@ -35,6 +35,10 @@ kata_version="master"
|
||||
kata_osbuilder_version="${KATA_OSBUILDER_VERSION:-}"
|
||||
# Agent version
|
||||
agent_version="${AGENT_VERSION:-}"
|
||||
if [ -z "${agent_version}" ]; then
|
||||
source "${script_dir}/../versions.txt"
|
||||
agent_version="${kata_agent_hash}"
|
||||
fi
|
||||
|
||||
readonly destdir="${PWD}"
|
||||
|
||||
|
Reference in New Issue
Block a user