Skip to content

Commit

Permalink
Merge pull request #250 from depot/allow-compose-tag-override
Browse files Browse the repository at this point in the history
Allow tag overrides to apply to Compose files
  • Loading branch information
jacobwgillespie authored Feb 24, 2024
2 parents 1fece09 + de233f5 commit 387f676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/buildx/commands/bake.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ func (t *LocalBakeValidator) Validate(ctx context.Context, _ []builder.Node, _ p
}

for target, opts := range targets {
if tag, ok := tags[target]; ok {
if tag, ok := tags[target]; ok && len(opts.Tags) == 0 {
opts.Tags = tag
}
}
Expand Down

0 comments on commit 387f676

Please sign in to comment.