Skip to content


fix(stapel): copying suitable stage from secondary might break reprod…
Browse files Browse the repository at this point in the history
…ucibility of subsequent stages
  • Loading branch information
alexey-igrychev committed Mar 29, 2024
1 parent 78d2905 commit 96dddad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/build/build_phase.go
Expand Up @@ -832,6 +832,9 @@ func (phase *BuildPhase) findAndFetchStageFromSecondaryStagesStorage(ctx context

// The stage digest remains the same, but the content digest may differ (e.g., the content digest of git and some user stages depends on the git commit).

logboek.Context(ctx).Default().LogFHighlight("Use previously built image for %s\n", stg.LogDetailedName())
container_backend.LogImageInfo(ctx, stg.GetStageImage().Image, phase.getPrevNonEmptyStageImageSize(), img.ShouldLogPlatform())

Expand Down

0 comments on commit 96dddad

Please sign in to comment.