use new implementation from toolkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									d350de3bba
								
							
						
					
					
						commit
						d267e74486
					
				@ -33,7 +33,7 @@ actionsToolkit.run(
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let toolPath;
 | 
					    let toolPath;
 | 
				
			||||||
    if (Util.isValidUrl(inputs.version)) {
 | 
					    if (Util.isValidRef(inputs.version)) {
 | 
				
			||||||
      if (standalone) {
 | 
					      if (standalone) {
 | 
				
			||||||
        throw new Error(`Cannot build from source without the Docker CLI`);
 | 
					        throw new Error(`Cannot build from source without the Docker CLI`);
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user