forked from NSPG13/agent-bounties
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheck-containers.ps1
More file actions
36 lines (34 loc) · 911 Bytes
/
Copy pathcheck-containers.ps1
File metadata and controls
36 lines (34 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
param(
[string] $ApiImage = "agent-bounties-api:local",
[string] $McpImage = "agent-bounties-mcp:local",
[string] $WorkerImage = "agent-bounties-worker:local"
)
$ErrorActionPreference = "Stop"
$repoRoot = Split-Path -Parent $PSScriptRoot
. (Join-Path $PSScriptRoot "_shared\powershell.ps1")
Push-Location $repoRoot
try {
Invoke-Checked {
docker build `
--build-arg APP_PACKAGE=api `
--build-arg APP_BINARY=api `
-t $ApiImage `
.
}
Invoke-Checked {
docker build `
--build-arg APP_PACKAGE=mcp-server `
--build-arg APP_BINARY=mcp-server `
-t $McpImage `
.
}
Invoke-Checked {
docker build `
--build-arg APP_PACKAGE=worker `
--build-arg APP_BINARY=worker `
-t $WorkerImage `
.
}
} finally {
Pop-Location
}