Project-MONAI / monai-deploy-workflow-manager

Repository containing the Workflow Manager sub-system part of MONAI Deploy.
Apache License 2.0
13 stars 3 forks source link

[Docker Plug-in] Don't pull image if already exists unless forced #895

Closed mocsharp closed 1 year ago

mocsharp commented 1 year ago

Description

In many use cases, users may build their images locally first and therefore, the Docker Plug-in would fail because it always tries to pull the image.

This PR checks the existence of the image first and will not attempt to pull the image unless the user asks for it by setting it in the workflow definition:

{
   "always_pull": "true"
}

Status

Ready

Types of changes

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. Read more here