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:
parent
e6b1d2aa06
commit
c7818fe499
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue