Intermediate registry: correct arg order

The --insecure-policy argument must appear before copy.

Change-Id: If182405b57c026ced237bf152d323bdea6ff54b2
This commit is contained in:
James E. Blair 2019-02-15 17:46:42 -08:00
parent c7818fe499
commit ee1b1ea2e4
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
- name: Pull artifact from intermediate registry
command: >-
skopeo copy --insecure-policy
skopeo --insecure-policy copy
--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 --insecure-policy
skopeo --insecure-policy copy
--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 }}