Commit c4266ec
committed
fix(cli): keep docker login output out of build logs
The registry login step's output was collected into the shared build log
buffer, so build logs on self-hosted and local builds always carried
docker's unencrypted-credentials warning — most confusingly right next to
the real error on failed builds. Route login output to debug logging only,
push a single 'Logged in to <registry>' marker into the build log on
success, and keep returning the full login output when the login itself
fails.1 parent 83af2d2 commit c4266ec
2 files changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
517 | 521 | | |
518 | | - | |
| 522 | + | |
519 | 523 | | |
520 | 524 | | |
521 | 525 | | |
522 | 526 | | |
523 | 527 | | |
524 | 528 | | |
525 | 529 | | |
526 | | - | |
| 530 | + | |
527 | 531 | | |
528 | 532 | | |
529 | 533 | | |
| 534 | + | |
| 535 | + | |
530 | 536 | | |
531 | 537 | | |
532 | 538 | | |
| |||
0 commit comments