Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh committed Jun 22, 2021
1 parent 6ab022e commit b02f479
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/fsnotify/fsnotify v1.4.9
github.com/go-training/helloworld v0.0.0-20200225145412-ba5f4379d78b
github.com/google/go-cmp v0.5.6
github.com/google/go-containerregistry v0.5.2-0.20210622175925-92e9e85a7f1c
github.com/google/go-containerregistry v0.5.2-0.20210622202051-acad0ede73ff
github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc // indirect
github.com/mattmoor/dep-notify v0.0.0-20190205035814-a45dec370a17
github.com/onsi/gomega v1.10.3 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ github.com/google/go-containerregistry v0.5.0 h1:eb9sinv4PKm0AUwQGov0mvIdA4pyBGj
github.com/google/go-containerregistry v0.5.0/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0=
github.com/google/go-containerregistry v0.5.2-0.20210622175925-92e9e85a7f1c h1:gYZwcIX3UVlYlXsu0wgFk6rFaWVuEE8O0YscFnGNPGQ=
github.com/google/go-containerregistry v0.5.2-0.20210622175925-92e9e85a7f1c/go.mod h1:R5WRYyTdQqTchlBhX4q+WICGh8HQIL5wDFoFZv7Jq6Q=
github.com/google/go-containerregistry v0.5.2-0.20210622202051-acad0ede73ff h1:ofDPlq1NyfmbTPMTWQenAcA52tkqXTz7CKhQmWi9R9A=
github.com/google/go-containerregistry v0.5.2-0.20210622202051-acad0ede73ff/go.mod h1:R5WRYyTdQqTchlBhX4q+WICGh8HQIL5wDFoFZv7Jq6Q=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g=
github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
Expand Down
8 changes: 2 additions & 6 deletions pkg/build/gobuild.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,14 +665,10 @@ func (g *gobuild) buildOne(ctx context.Context, refStr string, baseRef name.Refe
return nil, err
}

m := map[string]string{
withApp = mutate.Annotations(withApp, map[string]string{
baseRefAnnotation: baseRef.Name(),
baseDigestAnnotation: baseDigest.String(),
}
withApp, err = mutate.Annotations(withApp, m)
if err != nil {
return nil, err
}
})

// Start from a copy of the base image's config file, and set
// the entrypoint to our app.
Expand Down

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

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

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ github.com/google/go-cmp/cmp/internal/diff
github.com/google/go-cmp/cmp/internal/flags
github.com/google/go-cmp/cmp/internal/function
github.com/google/go-cmp/cmp/internal/value
# github.com/google/go-containerregistry v0.5.2-0.20210622175925-92e9e85a7f1c
# github.com/google/go-containerregistry v0.5.2-0.20210622202051-acad0ede73ff
## explicit
github.com/google/go-containerregistry/cmd/crane/cmd
github.com/google/go-containerregistry/internal/and
Expand Down

0 comments on commit b02f479

Please sign in to comment.