Watch
1
0
Fork
You've already forked RedFlag
0

fix: align binary path between Dockerfile and build orchestrator

This commit is contained in:
Fimeg 2026-05-21 12:17:55 -04:00
commit fb85f23e08

View file

@ -36,8 +36,8 @@ func (s *BuildOrchestratorService) BuildAndSignAgent(version, platform, architec
binaryName += ".exe"
}
// Path to pre-built binary
binaryPath := filepath.Join(s.agentDir, "binaries", platform, binaryName)
// Path to pre-built binary (directory format: binaries/{platform}-{arch}/)
binaryPath := filepath.Join(s.agentDir, "binaries", platform+"-"+architecture, binaryName)
// Check if binary exists
if _, err := os.Stat(binaryPath); os.IsNotExist(err) {