1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2024-11-25 21:05:11 +00:00

use new implementation from toolkit

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-04-17 02:59:25 +02:00
parent d350de3bba
commit d267e74486
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -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`);
} }