Added build

This commit is contained in:
fastlorenzo 2020-11-04 20:53:15 +01:00
parent 0d7a0f4e64
commit c527b1b1ca
No known key found for this signature in database
GPG Key ID: 8AAAB58530EC2A31

2
dist/index.js generated vendored
View File

@ -238,7 +238,7 @@ class Meta {
const major = semver.major(semver.coerce(version.version)); const major = semver.major(semver.coerce(version.version));
const minor = semver.minor(semver.coerce(version.version)); const minor = semver.minor(semver.coerce(version.version));
const patch = semver.patch(semver.coerce(version.version)); const patch = semver.patch(semver.coerce(version.version));
const prerelease = semver.patch(version.version); const prerelease = semver.prerelease(version.version);
tags.push(`${image}:${this.inputs.semverPrefix}${major}`); tags.push(`${image}:${this.inputs.semverPrefix}${major}`);
tags.push(`${image}:${this.inputs.semverPrefix}${major}.${minor}`); tags.push(`${image}:${this.inputs.semverPrefix}${major}.${minor}`);
if (prerelease !== null) { if (prerelease !== null) {