Intermediate registry: use --insecure-policy

There is no policy file available, and we aren't concerned with
verifying image signatures at this point.  Add this option to
tell skopeo to proceed regardless.

Change-Id: I15a4978ec0fb338bc05c974b0ec6a21f680c853e
This commit is contained in:
James E. Blair 2019-02-15 16:13:42 -08:00
parent e6b1d2aa06
commit c7818fe499
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
- name: Pull artifact from intermediate registry
command: >-
skopeo copy
skopeo copy --insecure-policy
--src-creds={{ intermediate_registry.username }}:{{ intermediate_registry.password }}
--dest-creds={{ buildset_registry.username }}:{{ buildset_registry.password }}
{{ item.url }}

View File

@ -1,6 +1,6 @@
- name: Push tag to intermediate registry
command: >-
skopeo copy
skopeo copy --insecure-policy
--src-creds={{ buildset_registry.username }}:{{ buildset_registry.password }}
--dest-creds={{ intermediate_registry.username }}:{{ intermediate_registry.password }}
docker://{{ buildset_registry.host }}:{{ buildset_registry.port }}/{{ image.repository }}:{{ image_tag }}