Add an image template

This commit is contained in:
Daniel Berteaud 2024-04-04 13:15:36 +02:00
parent aedf834476
commit 86a494b278
1 changed files with 5 additions and 0 deletions

5
templates/image Normal file
View File

@ -0,0 +1,5 @@
image = "[[ .image ]]"
[[- if or (regexp.Match "SNAPSHOT" .image) (regexp.Match "latest" .image) ]]
force_pull = true
[[- end ]]
readonly_rootfs = true