Skip to content

Commit

Permalink
chore: use buildkit v0.9.2-okteto3.systemcerts-2 (okteto#3813)
Browse files Browse the repository at this point in the history
This PR updates buildkit dependency to include the following commit:
- okteto/buildkit@5509e40

Related with:
- okteto/app#6460

Signed-off-by: Javier Provecho Fernández (Okteto) [email protected]

Signed-off-by: Javier Provecho Fernández (Okteto) [email protected]
  • Loading branch information
jpf-okteto authored Jul 18, 2023
1 parent 0380bd5 commit b1c7b61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ require (
replace (
github.com/Sirupsen/logrus => github.com/sirupsen/logrus v1.8.0
github.com/jaguilar/vt100 => github.com/tonistiigi/vt100 v0.0.0-20190402012908-ad4c4a574305
github.com/moby/buildkit => github.com/okteto/buildkit v0.9.2-okteto3.systemcerts
github.com/moby/buildkit => github.com/okteto/buildkit v0.9.2-okteto3.systemcerts-2

// https://github.com/okteto/okteto/issues/2129
google.golang.org/grpc => google.golang.org/grpc v1.40.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,8 @@ github.com/nwaples/rardecode v1.1.0 h1:vSxaY8vQhOcVr4mm5e8XllHWTiM4JF507A0Katqw7
github.com/nwaples/rardecode v1.1.0/go.mod h1:5DzqNKiOdpKKBH87u8VlvAnPZMXcGRhxWkRpHbbfGS0=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
github.com/okteto/buildkit v0.9.2-okteto3.systemcerts h1:K8WAe0xaHdiVxmJMKtFimsaQBh/tfzxc5kqdaw1S3/E=
github.com/okteto/buildkit v0.9.2-okteto3.systemcerts/go.mod h1:QMeuInDurB8HZFS7nA+u/mnQam5Ih8qBy6Z71PxQCnE=
github.com/okteto/buildkit v0.9.2-okteto3.systemcerts-2 h1:+K3IC4NsU16mt2Io/jtr9sIiAhebnq+iDLcV09k3aF0=
github.com/okteto/buildkit v0.9.2-okteto3.systemcerts-2/go.mod h1:QMeuInDurB8HZFS7nA+u/mnQam5Ih8qBy6Z71PxQCnE=
github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/build/buildkit.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func getClientForOktetoCluster(ctx context.Context) (*client.Client, error) {
return nil, errors.Wrapf(err, "invalid buildkit host %s", okteto.Context().Builder)
}

creds := client.WithCredentials(b.Hostname(), config.GetCertificatePath(), "", "")
creds := client.WithCredentialsAndSystemRoots(b.Hostname(), config.GetCertificatePath(), "", "")

oauthToken := &oauth2.Token{
AccessToken: okteto.Context().Token,
Expand Down

0 comments on commit b1c7b61

Please sign in to comment.