debug
This commit is contained in:
parent
c1fb516716
commit
4f32a4fce8
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -62170,7 +62170,7 @@ function writeRegistryAuthJson(registryAuthJson, targetFile) {
|
||||
external_fs_.writeFileSync(targetFile, JSON.stringify(registryAuthJson, null, 2));
|
||||
}
|
||||
|
||||
function collectTags() {
|
||||
function collectTags(information) {
|
||||
const tags = [];
|
||||
let foundSemverTag = false;
|
||||
let tagPrefix = (core.getInput('tag_prefix') ?? '').trim();
|
||||
@ -62260,7 +62260,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));
|
||||
}
|
||||
|
||||
@ -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));
|
||||
}
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user