Skip to content

Commit

Permalink
Fix base image resolution (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmoor authored Sep 25, 2020
1 parent 5af0bc1 commit d487673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func getBaseImage(platform string) build.GetBase {
// github.com/GoogleCloudPlatform/foo/cmd/bar
// comes through as:
// github.com/googlecloudplatform/foo/cmd/bar
ref, ok := baseImageOverrides[strings.ToLower(s)]
ref, ok := baseImageOverrides[strings.ToLower(strings.TrimPrefix(s, build.StrictScheme))]
if !ok {
ref = defaultBaseImage
}
Expand Down

0 comments on commit d487673

Please sign in to comment.