Skip to content

Commit

Permalink
change default to imagename
Browse files Browse the repository at this point in the history
Signed-off-by: mouuii <[email protected]>
  • Loading branch information
mouuii committed Apr 20, 2022
1 parent 304cd6a commit 63ed60f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@ func ensurePipelineTask(taskOpt *taskmodels.TaskOpt, log *zap.SugaredLogger) err
}
image = GetImage(reg, payload.String())
} else {
image = GetImage(reg, fmt.Sprintf("%s:%s", t.ServiceName, time.Now().Format("20060102150405")))
image = GetImage(reg, fmt.Sprintf("%s:%s", taskOpt.ImageName, time.Now().Format("20060102150405")))
}

t.JenkinsBuildArgs.JenkinsBuildParams[i].Value = image
Expand Down

0 comments on commit 63ed60f

Please sign in to comment.