fix: align binary path between Dockerfile and build orchestrator
This commit is contained in:
parent
846679b9e0
commit
fb85f23e08
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue