chore: build and validate

Signed-off-by: Jason D'Amour <jasondamour98@gmail.com>
This commit is contained in:
Jason D'Amour 2023-06-30 21:19:29 -05:00
parent 9ab0ec4482
commit ff45a12b53
No known key found for this signature in database
4 changed files with 3 additions and 5 deletions

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -48,7 +48,6 @@ actionsToolkit.run(
} }
setOutput('version', version.main || ''); setOutput('version', version.main || '');
// Docker tags // Docker tags
const tags: Array<string> = meta.getTags(); const tags: Array<string> = meta.getTags();
if (tags.length == 0) { if (tags.length == 0) {

View File

@ -453,8 +453,7 @@ export class Meta {
tags.push(`${imageName}:${Meta.sanitizeTag(latestTag)}`); tags.push(`${imageName}:${Meta.sanitizeTag(latestTag)}`);
} }
} }
} } else {
else {
tags.push(this.version.main); tags.push(this.version.main);
for (const partial of this.version.partial) { for (const partial of this.version.partial) {
tags.push(partial); tags.push(partial);