Skip to content
Snippets Groups Projects
Commit d8ae5080 authored by Matthew Mosesohn's avatar Matthew Mosesohn
Browse files

Work around escaping curly braces for docker inspect

parent 2ee88984
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,8 @@
{%- if pull_by_digest|bool %}{{download.repo}}@sha256:{{download.sha256}}{%- else -%}{{download.repo}}:{{download.tag}}{%- endif -%}
- name: Register docker images info
shell: "{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f {% raw %}'{{.RepoTags}},{{.RepoDigests}}'{% endraw %}"
raw: >-
{{ docker_bin_dir }}/docker images -q | xargs {{ docker_bin_dir }}/docker inspect -f "{{ '{{' }} .RepoTags {{ '}}' }},{{ '{{' }} .RepoDigests {{ '}}' }}"
register: docker_images_raw
failed_when: false
when: not download_always_pull|bool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment