Skip to content

Commit

Permalink
When defaulting to Depot builders, fall back to standard remote build…
Browse files Browse the repository at this point in the history
…ers for buildpacks (#3942)

Fall back to standard remote builders for buildpacks
  • Loading branch information
jsierles committed Sep 13, 2024
1 parent 27a7712 commit 4ff61fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/build/imgsrc/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (r *Resolver) BuildImage(ctx context.Context, streams *iostreams.IOStreams,

if r.dockerFactory.mode.UseNixpacks() {
strategies = append(strategies, &nixpacksBuilder{})
} else if r.dockerFactory.mode.UseDepot() {
} else if r.dockerFactory.mode.UseDepot() && len(opts.Buildpacks) == 0 {
strategies = append(strategies, &DepotBuilder{Scope: builderScope})
} else {
strategies = []imageBuilder{
Expand Down

0 comments on commit 4ff61fe

Please sign in to comment.