mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 19:07:54 +01:00
only run some actions for 38
This commit is contained in:
parent
6f1f78fa89
commit
c3e7518310
3 changed files with 52 additions and 70 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<%page args="image_repo, _image_repo_double_escaped, image_name, image_tag"/>
|
||||
if (which bootc &> /dev/null)
|
||||
<%page args="image_repo, _image_repo_double_escaped, image_name, image_tag, version"/>
|
||||
if (which bootc &> /dev/null) && [ ${version} -ge 39 ]
|
||||
then
|
||||
bootc switch --mutate-in-place --enforce-container-sigpolicy --transport registry ${image_repo}/${image_name}:${image_tag}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue