Skip to content

Commit

Permalink
fix windows build for plan
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhanna committed Nov 13, 2024
1 parent 62b086f commit 124b5fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/cli/Commands/Services/ServicesBuildCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,9 @@ public static async Task<BuildImageOutput> Build(
var argString = $"buildx build {fullContextPath} -f {fullDockerfilePath} " +
$"{tagString} " +
$"--progress rawjson " +
$"--build-arg BEAM_SUPPORT_SRC_PATH={Path.GetRelativePath(config.BaseDirectory, report.outputDirSupport)} " +
$"--build-arg BEAM_APP_SRC_PATH={Path.GetRelativePath(config.BaseDirectory,report.outputDirApp)} " +
$"--build-arg BEAM_APP_DEST=/beamApp/{Path.GetRelativePath(config.BaseDirectory,definition.BeamoId)}.dll " +
$"--build-arg BEAM_SUPPORT_SRC_PATH={Path.GetRelativePath(config.BaseDirectory, report.outputDirSupport).Replace("\\", "/")} " +
$"--build-arg BEAM_APP_SRC_PATH={Path.GetRelativePath(config.BaseDirectory,report.outputDirApp).Replace("\\", "/")} " +
$"--build-arg BEAM_APP_DEST=/beamApp/{Path.GetRelativePath(config.BaseDirectory,definition.BeamoId).Replace("\\", "/")}.dll " +
$"{(forceCpu ? "--platform linux/amd64 " : "")} " +
$"{(noCache ? "--no-cache " : "")}" +
$"{(pull ? "--pull " : "")}" +
Expand Down

0 comments on commit 124b5fa

Please # to comment.