Skip to content

Commit

Permalink
Fix building just one image with --all flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mikusaq committed Nov 25, 2024
1 parent ffa9988 commit 7e65854
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 7e65854

Please sign in to comment.