Browse Source

Intermediate registry: correct arg order

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

Change-Id: If182405b57c026ced237bf152d323bdea6ff54b2
changes/42/637342/1
James E. Blair 3 months ago
parent
commit
ee1b1ea2e4

+ 1
- 1
roles/pull-from-intermediate-registry/tasks/main.yaml View File

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

+ 1
- 1
roles/push-to-intermediate-registry/tasks/push.yaml View File

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

Loading…
Cancel
Save