mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-03-22 02:29:08 +00:00
Support SHA256 tag for podman images (#570)
Fix #569 Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
bb4b14bc5d
commit
d5f7655464
2 changed files with 14 additions and 1 deletions
|
|
@ -428,7 +428,8 @@ class PodmanImageManager(object):
|
|||
self.name = repo
|
||||
self.tag = repo_tag
|
||||
|
||||
self.image_name = '{name}:{tag}'.format(name=self.name, tag=self.tag)
|
||||
delimiter = ':' if "sha256" not in self.tag else '@'
|
||||
self.image_name = '{name}{d}{tag}'.format(name=self.name, d=delimiter, tag=self.tag)
|
||||
|
||||
if self.state in ['present', 'build']:
|
||||
self.present()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue