Skip to content

Commit

Permalink
packaging: agent: Add rust version to the builder image name
Browse files Browse the repository at this point in the history
As we want to make sure a new builder image is generated if the rust
version is bumped.

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio authored and stevenhorsman committed Jan 31, 2025
1 parent 41f23f1 commit e4b9fc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/packaging/scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,9 @@ get_agent_image_name() {
"$(get_last_modification "${repo_root_dir}/ci/install_libseccomp.sh")" \
"$(get_last_modification "${repo_root_dir}/tools/packaging/kata-deploy/local-build/kata-deploy-copy-libseccomp-installer.sh")")
agent_dir="${repo_root_dir}/tools/packaging/static-build/agent"
rust_toolchain="$(get_from_kata_deps ".languages.rust.meta.newest-version")"

echo "${BUILDER_REGISTRY}:agent-${libseccomp_hash}-$(get_last_modification ${agent_dir})-$(uname -m)"
echo "${BUILDER_REGISTRY}:agent-${libseccomp_hash}-$(get_last_modification ${agent_dir})-${rust_toolchain}-$(uname -m)"
}

get_coco_guest_components_image_name() {
Expand Down

0 comments on commit e4b9fc0

Please sign in to comment.