Skip to content

Commit

Permalink
fixing windows acceptance test
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Bustamante <jbustamante@vmware.com>
  • Loading branch information
jjbustamante committed May 22, 2024
1 parent 03a0d8f commit ae8e20b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions acceptance/acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down Expand Up @@ -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"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ arch = "amd64"

[[targets]]
os = "windows"
arch = "arm64"
arch = "amd64"

[build]
image = "{{ .BuildImage }}"
Expand Down

0 comments on commit ae8e20b

Please sign in to comment.