1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-04-22 14:46:39 +02:00

Fix tests

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-23 04:01:20 +02:00
parent e8186e990f
commit 995fe3c38a
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View file

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