mirror of
https://github.com/docker/metadata-action.git
synced 2025-04-06 18:00:23 +02:00
Added build
This commit is contained in:
parent
0d7a0f4e64
commit
c527b1b1ca
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user