mirror of
https://code.forgejo.org/docker/metadata-action.git
synced 2025-08-06 06:10:54 +00:00
chore: build and validate
Signed-off-by: Jason D'Amour <jasondamour98@gmail.com>
This commit is contained in:
parent
9ab0ec4482
commit
ff45a12b53
4 changed files with 3 additions and 5 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue