Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #116 from thepwagner/action-update-go/main/github.…
Browse files Browse the repository at this point in the history
…com/moby/buildkit/v0.9.0

Update github.com/moby/buildkit from v0.8.3 to v0.9.0
  • Loading branch information
thepwagner authored Jul 20, 2021
2 parents af456eb + 7cfb735 commit 9364824
Show file tree
Hide file tree
Showing 45 changed files with 1,618 additions and 483 deletions.
2 changes: 1 addition & 1 deletion docker/applyupdate.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (u *Updater) ApplyUpdate(ctx context.Context, update updater.Update) error
var oldnew []string
var seenFrom bool
for _, instruction := range parsed.AST.Children {
switch instruction.Value {
switch strings.ToLower(instruction.Value) {
case command.From:
seenFrom = true
dep := parseDependency(vars, instruction.Next.Value)
Expand Down
2 changes: 1 addition & 1 deletion docker/dependencies.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func extractImages(parsed *parser.Result) ([]updater.Dependency, error) {
var deps []updater.Dependency
for _, instruction := range parsed.AST.Children {
// Ignore everything but FROM instructions
if instruction.Value != command.From {
if !strings.EqualFold(instruction.Value, command.From) {
continue
}

Expand Down
2 changes: 1 addition & 1 deletion docker/interpolate.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewInterpolation(parsed *parser.Result) *Interpolation {
Vars: map[string]string{},
}
for _, instruction := range parsed.AST.Children {
switch instruction.Value {
switch strings.ToLower(instruction.Value) {
case command.Arg:
varSplit := strings.SplitN(instruction.Next.Value, "=", 2)
if len(varSplit) == 2 {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.16

require (
github.com/cloudflare/cfssl v1.6.0 // indirect
github.com/docker/cli v20.10.0-beta1.0.20201029214301-1d20b15adc38+incompatible
github.com/docker/cli v20.10.7+incompatible
github.com/docker/distribution v2.7.1+incompatible
github.com/fvbommel/sortorder v1.0.2 // indirect
github.com/jinzhu/gorm v1.9.16 // indirect
github.com/miekg/pkcs11 v1.0.3 // indirect
github.com/moby/buildkit v0.8.3
github.com/moby/buildkit v0.9.0
github.com/sirupsen/logrus v1.8.1
github.com/spf13/viper v1.8.1 // indirect
github.com/stretchr/testify v1.7.0
Expand Down
119 changes: 106 additions & 13 deletions go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions vendor/github.com/Microsoft/go-winio/CODEOWNERS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 24 additions & 12 deletions vendor/github.com/Microsoft/go-winio/fileinfo.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/Microsoft/go-winio/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions vendor/github.com/Microsoft/go-winio/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/Microsoft/go-winio/hvsock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/Microsoft/go-winio/pkg/guid/guid.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/Microsoft/go-winio/syscall.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9364824

Please sign in to comment.