diff --git a/roles/promote-docker-image/tasks/promote-retag-inner.yaml b/roles/promote-docker-image/tasks/promote-retag-inner.yaml index f3fc4b970..0c8ba5ab2 100644 --- a/roles/promote-docker-image/tasks/promote-retag-inner.yaml +++ b/roles/promote-docker-image/tasks/promote-retag-inner.yaml @@ -23,6 +23,9 @@ Authorization: "Bearer {{ token.json.token }}" - name: Delete the current change tag no_log: true + # In case the dockerhub API is out of sync with the registry, let's + # continue anyway. + failed_when: false uri: url: "https://hub.docker.com/v2/repositories/{{ zj_image.repository }}/tags/{{ promote_tag_prefix }}_{{ zj_image_tag }}/" method: DELETE