Skip to content

Commit e7822ea

Browse files
committed
fix: filter images that are not built for image pull secrets
1 parent 4c447ff commit e7822ea

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

pkg/devspace/build/build.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ func (c *controller) Build(ctx devspacecontext.Context, images []string, options
9494

9595
for imageConfigName, imageConf := range conf.Images {
9696
imageName := imageConf.Image
97+
if len(images) > 0 && !stringutil.Contains(images, imageConfigName) {
98+
continue
99+
}
97100

98101
// Get image tags
99102
imageTags := []string{}

0 commit comments

Comments
 (0)