Skip to content

Commit 9ef3551

Browse files
committed
fix: tag replaced incorrectly when using dev.*.imageSelector with predefined tag
Signed-off-by: Russell Centanni <russell.centanni@gmail.com>
1 parent bb0474b commit 9ef3551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • pkg/devspace/config/loader/variable/legacy

pkg/devspace/config/loader/variable/legacy/replace.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func resolveImage(value string, config config2.Config, dependencies []types.Depe
175175

176176
// try to find the tag for the image
177177
tag := originalTag
178-
if imageCache.Tag != "" {
178+
if tag == "" && imageCache.Tag != "" {
179179
tag = imageCache.Tag
180180
}
181181

0 commit comments

Comments
 (0)