diff --git a/acceptance/acceptance_test.go b/acceptance/acceptance_test.go index d166b12cc..5e7c1766f 100644 --- a/acceptance/acceptance_test.go +++ b/acceptance/acceptance_test.go @@ -3407,7 +3407,7 @@ include = [ "*.jar", "media/mountain.jpg", "/media/person.png", ] it("publishes builder image to the daemon for the given target", func() { platform := "linux/amd64" - if runtime.GOOS == "windows" { + if imageManager.HostOS() == "windows" { platform = "windows/amd64" } @@ -3459,7 +3459,7 @@ include = [ "*.jar", "media/mountain.jpg", "/media/person.png", ] it("publishes builder image to the daemon for the given target", func() { platform := "linux/amd64" - if runtime.GOOS == "windows" { + if imageManager.HostOS() == "windows" { platform = "windows/amd64" } diff --git a/acceptance/testdata/pack_fixtures/builder_multi_platform.toml b/acceptance/testdata/pack_fixtures/builder_multi_platform.toml index d67d82051..cc95496e3 100644 --- a/acceptance/testdata/pack_fixtures/builder_multi_platform.toml +++ b/acceptance/testdata/pack_fixtures/builder_multi_platform.toml @@ -15,7 +15,7 @@ arch = "amd64" [[targets]] os = "windows" -arch = "arm64" +arch = "amd64" [build] image = "{{ .BuildImage }}"