Merge "Handle multi-arch docker manifests in promote"
This commit is contained in:
commit
5f6c714208
@ -4,7 +4,7 @@
|
|||||||
url: "https://registry.hub.docker.com/v2/{{ zj_image.repository }}/manifests/change_{{ zuul.change }}_{{ zj_image_tag }}"
|
url: "https://registry.hub.docker.com/v2/{{ zj_image.repository }}/manifests/change_{{ zuul.change }}_{{ zj_image_tag }}"
|
||||||
status_code: 200
|
status_code: 200
|
||||||
headers:
|
headers:
|
||||||
Accept: "application/vnd.docker.distribution.manifest.v2+json"
|
Accept: "application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.docker.distribution.manifest.v2+json"
|
||||||
Authorization: "Bearer {{ token.json.token }}"
|
Authorization: "Bearer {{ token.json.token }}"
|
||||||
return_content: true
|
return_content: true
|
||||||
register: manifest
|
register: manifest
|
||||||
@ -16,7 +16,7 @@
|
|||||||
status_code: 201
|
status_code: 201
|
||||||
body: "{{ manifest.content | string }}"
|
body: "{{ manifest.content | string }}"
|
||||||
headers:
|
headers:
|
||||||
Content-Type: "application/vnd.docker.distribution.manifest.v2+json"
|
Content-Type: "{{ manifest.content_type }}"
|
||||||
Authorization: "Bearer {{ token.json.token }}"
|
Authorization: "Bearer {{ token.json.token }}"
|
||||||
- name: Delete the current change tag
|
- name: Delete the current change tag
|
||||||
no_log: true
|
no_log: true
|
||||||
|
Loading…
Reference in New Issue
Block a user