mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-17 04:18:42 +00:00
Compose digest instead of accidentally using wrong one. (#733)
This commit is contained in:
parent
02bb4ceaf7
commit
42453444ff
@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
- name: Pull image from test registry (with digest)
|
- name: Pull image from test registry (with digest)
|
||||||
docker_image:
|
docker_image:
|
||||||
name: "{{ facts_3.images[0].RepoDigests[0] }}"
|
name: "{{ hello_world_image_base }}@{{ facts_3.images[0].RepoDigests[0] | regex_replace('.*@', '') }}"
|
||||||
state: present
|
state: present
|
||||||
source: pull
|
source: pull
|
||||||
force_source: true
|
force_source: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user