mirror of
https://github.com/docker/build-push-action.git
synced 2025-06-12 14:17:12 +02:00
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -1587,7 +1587,7 @@ function getVersion() {
|
||||
exports.getVersion = getVersion;
|
||||
function parseVersion(stdout) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const matches = /\sv([0-9.]+)\s/.exec(stdout);
|
||||
const matches = /\sv?([0-9.]+)/.exec(stdout);
|
||||
if (!matches) {
|
||||
throw new Error(`Cannot parse Buildx version`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user