LOGGER.info("Attempting to clean up docker image for " + run);
if( action.pushOnSuccess ) {
DockerRegistryClient registryClient;
try {
Identifier identifier = Identifier.fromCompoundString(action.taggedId);
registryClient = DockerRegistryClient.builder()
.withUrl(identifier.repository.getURL())
.build();
registryClient.registryApi().deleteRepositoryTag("library",
identifier.repository.getPath(),
identifier.tag.orNull());