Skip to content

Commit

Permalink
Update platform unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
gadiego92 committed Mar 31, 2022
1 parent efd425d commit a94d651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ COPY --from=second /bar /bat
ioutil.WriteFile(f.Name(), []byte(tt.args.dockerfile), 0755)
opts := &config.KanikoOptions{
DockerfilePath: f.Name(),
CustomPlatform: platforms.DefaultString(),
CustomPlatform: platforms.Normalize(platforms.DefaultSpec()),
}
testStages, metaArgs, err := dockerfile.ParseStages(opts)
if err != nil {
Expand Down

0 comments on commit a94d651

Please sign in to comment.