diff --git a/js-action/src/index.js b/js-action/src/index.js index 65a082c..ced6dd0 100644 --- a/js-action/src/index.js +++ b/js-action/src/index.js @@ -53,13 +53,13 @@ async function main() { let prePushImageTag = `0000001-${generateRandomString(8)}`; let pushImage = `${registry}/${repoName}/${image.name}:${tag}`; let pushImageLatest = `${registry}/${repoName}/${image.name}:latest`; - let prePushImage = `${registry}/${repoName}/${image.name}:${prePushTag}`; + let prePushImage = `${registry}/${repoName}/${image.name}:${prePushImageTag}`; if (registry == githubRegistry) { buildImage = `${registry}/${org}/${repoName}:${image.name}-${resultTag}`; pushImage = `${registry}/${org}/${repoName}:${image.name}-${tag}`; pushImageLatest = `${registry}/${org}/${repoName}:${image.name}-latest`; - prePushImage = `${registry}/${org}/${repoName}:${image.name}-${prePushTag}`; + prePushImage = `${registry}/${org}/${repoName}:${image.name}-${prePushImageTag}`; prePushImageTag = `${image.name}-${prePushImageTag}`; } outputBuiltImages[image.name] = buildImage;