Skip to content

Commit

Permalink
refactor: remove console logs and implement
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Dec 3, 2021
1 parent 4ca889b commit 59d18b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/publish.js
Expand Up @@ -53,9 +53,6 @@ module.exports = async (pluginConfig, ctx) => {
try {
const docker = new Dockerode()
const baseImageTag = ctx.nextRelease.channel || 'latest';
console.log(`baseImageTag: ${baseImageTag}`);
console.log(`ctx.nextRelease.version: ${ctx.nextRelease.version}`);
console.log(`ctx.nextRelease`, ctx.nextRelease);

const tags = [baseImageTag, ctx.nextRelease.version]
if (pluginConfig.additionalTags && pluginConfig.additionalTags.length > 0) {
Expand Down Expand Up @@ -91,8 +88,6 @@ module.exports = async (pluginConfig, ctx) => {
}
}

console.log(`latestImage: ${latestImage}`);
console.log(`latestRegistry: ${latestRegistry}`);
if (latestImage && latestRegistry) {
return getReleaseInfo(latestImage, latestRegistry, baseImageTag);
}
Expand Down

0 comments on commit 59d18b0

Please sign in to comment.