We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ab5961 commit 7342985Copy full SHA for 7342985
cmd/bob/build.go
@@ -364,8 +364,10 @@ func build(buildCtx *BuildContext) (*buildOutput, error) {
364
return withErr(err) // err context ok
365
}
366
367
- if err := pass("publish", publishPass); err != nil {
368
- return withErr(err) // err context ok
+ if buildCtx.PublishArtefacts {
+ if err := pass("publish", publishPass); err != nil {
369
+ return withErr(err) // err context ok
370
+ }
371
372
373
dockerLoginCache := newDockerRegistryLoginCache()
0 commit comments