Skip to content

Commit

Permalink
Remove windows platform for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
olsh committed Jan 5, 2025
1 parent 93486eb commit f2b055c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Task("DockerPush")
DockerLogin(EnvironmentVariable("docker_login"), EnvironmentVariable("docker_password"));

StartProcess("docker", new ProcessSettings { Arguments = $"buildx create --use --name {dockerBuildContainerName}" });
var dockerBuildArguments = $"buildx build {tempPublishDirectory} -f Dockerfile --push --platform linux/amd64,windows/amd64 -t {dockerImageTag} --progress plain";
var dockerBuildArguments = $"buildx build {tempPublishDirectory} -f Dockerfile --push --platform linux/amd64 -t {dockerImageTag} --progress plain";
StartProcess("docker", new ProcessSettings{ Arguments = dockerBuildArguments });
});

Expand Down

0 comments on commit f2b055c

Please sign in to comment.