Initial commit: Who Did It Clue character preference collector
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Docker Build Script for Windows PowerShell
|
||||
# Builds the Docker image for docker-registry.kolpacksoftware.com
|
||||
|
||||
param(
|
||||
[string]$ImageName = "clue-picker",
|
||||
[string]$Tag = "latest",
|
||||
[string]$Registry = "docker-registry.kolpacksoftware.com"
|
||||
)
|
||||
|
||||
$FullImageName = "${Registry}/${ImageName}:${Tag}"
|
||||
|
||||
Write-Host "Building Docker image: $FullImageName" -ForegroundColor Green
|
||||
|
||||
docker build -t $FullImageName .
|
||||
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Docker build failed!" -ForegroundColor Red
|
||||
exit 1
|
||||
}
|
||||
|
||||
Write-Host "Build successful!" -ForegroundColor Green
|
||||
Write-Host ""
|
||||
Write-Host "To push the image, run:" -ForegroundColor Yellow
|
||||
Write-Host " docker push $FullImageName" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
Write-Host "Or use the docker-push.ps1 script" -ForegroundColor Yellow
|
||||
Reference in New Issue
Block a user