Skip to content

Commit

Permalink
adjust buildx API changes
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
  • Loading branch information
ndeloof committed Feb 20, 2025
1 parent 3f3270b commit 152490f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compose/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ func (s *composeService) toBuildOptions(project *types.Project, service types.Se
return build.Options{}, err
}
if service.Build.Privileged {
allow = append(allow, entitlements.EntitlementSecurityInsecure)
allow = append(allow, entitlements.EntitlementSecurityInsecure.String())
}

imageLabels := getImageBuildLabels(project, service)
Expand Down

0 comments on commit 152490f

Please sign in to comment.