diff --git a/src/main.ts b/src/main.ts index deb56ef..6b66c2e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,7 +33,7 @@ actionsToolkit.run( }); let toolPath; - if (Util.isValidUrl(inputs.version)) { + if (Util.isValidRef(inputs.version)) { if (standalone) { throw new Error(`Cannot build from source without the Docker CLI`); }