Compose digest instead of accidentally using wrong one. (#733)

This commit is contained in:
Felix Fontein 2023-12-31 15:31:43 +01:00 committed by GitHub
parent 02bb4ceaf7
commit 42453444ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,7 @@
- name: Pull image from test registry (with digest)
docker_image:
name: "{{ facts_3.images[0].RepoDigests[0] }}"
name: "{{ hello_world_image_base }}@{{ facts_3.images[0].RepoDigests[0] | regex_replace('.*@', '') }}"
state: present
source: pull
force_source: true