debug
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ try {
|
||||
mergeArgRegistryAuthJson(registryAuthJson);
|
||||
writeRegistryAuthJson(registryAuthJson, '/home/runner/.docker/config.json');
|
||||
|
||||
const tags = collectTags();
|
||||
const tags = collectTags(information);
|
||||
if (debug) {
|
||||
console.log('tags:', JSON.stringify(tags, null, 2));
|
||||
}
|
||||
|
||||
+1
-1
@@ -70,7 +70,7 @@ export function writeRegistryAuthJson(registryAuthJson, targetFile) {
|
||||
fs.writeFileSync(targetFile, JSON.stringify(registryAuthJson, null, 2));
|
||||
}
|
||||
|
||||
export function collectTags() {
|
||||
export function collectTags(information) {
|
||||
const tags = [];
|
||||
let foundSemverTag = false;
|
||||
let tagPrefix = (core.getInput('tag_prefix') ?? '').trim();
|
||||
|
||||
Reference in New Issue
Block a user