mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 06:06:12 +00:00
ci: cache: Update agent cache to use the full commit hash
- Previously I copied the logic that abbreviated the commit hash from the versioning, but looking at our versions.yaml the clear pattern is that when pointing at commits of dependencies we use the full commit hash, not the abbreviated one, so for consistency I think we should do the same with the components that we make available Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
d46b6a3879
commit
d6afd77eae
@ -801,7 +801,7 @@ install_ovmf_sev() {
|
||||
|
||||
install_agent() {
|
||||
latest_artefact="$(git log -1 --abbrev=9 --pretty=format:"%h" ${repo_root_dir}/src/agent)"
|
||||
artefact_tag="$(git log -1 --abbrev=9 --pretty=format:"%h" ${repo_root_dir})"
|
||||
artefact_tag="$(git log -1 --pretty=format:"%H" ${repo_root_dir})"
|
||||
latest_builder_image="$(get_agent_image_name)"
|
||||
|
||||
install_cached_tarball_component \
|
||||
|
Loading…
Reference in New Issue
Block a user