1
0
mirror of https://github.com/ko-build/ko.git synced 2025-07-15 23:54:17 +02:00

Error if image platform does not match desired (#785)

This commit is contained in:
Ben Moss
2022-08-19 17:19:55 -04:00
committed by GitHub
parent 6bda550899
commit cbe2784e52
5 changed files with 11 additions and 0 deletions

View File

@ -183,6 +183,7 @@ func TestNewBuilder(t *testing.T) {
bo: &options.BuildOptions{
BaseImage: baseImage,
ConcurrentBuilds: 1,
Platforms: []string{"all"},
},
wantQualifiedImportpath: "ko://github.com/google/ko/test",
shouldBuildError: false,