diff --git a/js-action/src/index.js b/js-action/src/index.js index ced6dd0..7a69636 100644 --- a/js-action/src/index.js +++ b/js-action/src/index.js @@ -56,7 +56,7 @@ async function main() { let prePushImage = `${registry}/${repoName}/${image.name}:${prePushImageTag}`; if (registry == githubRegistry) { - buildImage = `${registry}/${org}/${repoName}:${image.name}-${resultTag}`; + buildImage = `${registry}/${org}/${repoName}:${image.name}-${buildTag}`; pushImage = `${registry}/${org}/${repoName}:${image.name}-${tag}`; pushImageLatest = `${registry}/${org}/${repoName}:${image.name}-latest`; prePushImage = `${registry}/${org}/${repoName}:${image.name}-${prePushImageTag}`;