Skip to content

Commit

Permalink
Merge pull request #30 from bringauto/fix-build-image
Browse files Browse the repository at this point in the history
Fix building just one image with --all flag
  • Loading branch information
mikusaq authored Nov 27, 2024
2 parents 9494381 + 7e65854 commit a81b1f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bap-builder/DockerMode.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ func buildAllDockerImages(contextManager ContextManager) error {
logger.Warn("Bug: multiple Dockerfile present for same image name %s", imageName)
continue
}
return buildSingleDockerImage(imageName, dockerfilePath[0])
err = buildSingleDockerImage(imageName, dockerfilePath[0])
if err != nil {
return err
}
}
return nil
}
Expand Down

0 comments on commit a81b1f5

Please sign in to comment.