diff --git a/src/meta.ts b/src/meta.ts index 7020b0b..6a1e180 100644 --- a/src/meta.ts +++ b/src/meta.ts @@ -82,10 +82,10 @@ export class Meta { const minor: number = semver.minor(semver.coerce(version.version)); const patch: number = semver.patch(semver.coerce(version.version)); const prerelease: string[] | null = semver.patch(version.version); - tags.push(`${image}:${major}`); - tags.push(`${image}:${major}.${minor}`); + tags.push(`${image}:${this.inputs.semverPrefix}${major}`); + tags.push(`${image}:${this.inputs.semverPrefix}${major}.${minor}`); if(prerelease !== null) { - tags.push(`${image}:${major}.${minor}.${patch}`); + tags.push(`${image}:${this.inputs.semverPrefix}${major}.${minor}.${patch}`); } } if (version.latest) {