ci: properly add c.buildCandidatesNoTest to switch statement for building images (#21960)

This commit is contained in:
Geoffrey Gilmore 2021-06-10 10:13:18 -07:00 committed by GitHub
parent 8d9622bcbc
commit db2f3e8a3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -369,7 +369,7 @@ func addDockerImages(c Config, final bool) func(*bk.Pipeline) {
}
// build candidate images but do not deploy `insiders` images
case c.taggedRelease || c.isBackendDryRun || c.shouldRunE2EandQA():
case c.taggedRelease || c.isBackendDryRun || c.shouldRunE2EandQA() || c.buildCandidatesNoTest:
for _, dockerImage := range images.SourcegraphDockerImages {
addDockerImage(c, dockerImage, false)(pipeline)
}