Make the image delete recursive to remove any tags which depend on it.
This commit is contained in:
parent
449c0b0d46
commit
f1746417b1
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ def create_repository(namespace, repository):
|
|||
else:
|
||||
logger.debug('Deleting existing image with id: %s' %
|
||||
existing.docker_image_id)
|
||||
existing.delete_instance()
|
||||
existing.delete_instance(recursive=True)
|
||||
|
||||
for image_description in added_images.values():
|
||||
image = model.create_image(image_description['id'], repo)
|
||||
|
|
Reference in a new issue