fix: Trim digest when parsing pinniped manifest
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
05b271214c
commit
eab5cfc688
@ -16,7 +16,8 @@
|
|||||||
|
|
||||||
- name: Parse pinniped manifests for container images
|
- name: Parse pinniped manifests for container images
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.)' | awk '!/ /'
|
# The pinniped manifest specify container images with *both* tag and digest; which is not supported by skopeo
|
||||||
|
cmd: cat {{ item.dest }} | yq --no-doc eval '.. | .image? | select(.)' | awk '!/ /' | sub("@.*", "")
|
||||||
register: pinniped_parsedmanifests
|
register: pinniped_parsedmanifests
|
||||||
loop: "{{ pinniped_manifests.results }}"
|
loop: "{{ pinniped_manifests.results }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
|
Loading…
Reference in New Issue
Block a user