From fa4999f2985859d798c692b2ae8568b78e1cbc3e Mon Sep 17 00:00:00 2001 From: tunahanertekin Date: Thu, 25 May 2023 17:45:30 +0300 Subject: [PATCH] refactor(step): include version to image name --- pkg/api/step.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/step.go b/pkg/api/step.go index e6cac36..e0da096 100644 --- a/pkg/api/step.go +++ b/pkg/api/step.go @@ -32,7 +32,7 @@ func (step *Step) Default(lc LaunchConfig) { } func (step *Step) setImageName(lc LaunchConfig) { - step.Image.Name = lc.Registry + "/" + lc.Organization + "/" + step.Image.Repository + ":" + step.Image.Tag + step.Image.Name = lc.Registry + "/" + lc.Organization + "/" + step.Image.Repository + ":" + step.Image.Tag + "-" + lc.Version } func (step *Step) setContext(lc LaunchConfig) {