2017-06-19 19:01:00 +02:00
|
|
|
Param([string] $imageTag)
|
|
|
|
|
|
|
|
$scriptPath = Split-Path $script:MyInvocation.MyCommand.Path
|
|
|
|
|
|
|
|
if ([string]::IsNullOrEmpty($imageTag)) {
|
|
|
|
$imageTag = $(git rev-parse --abbrev-ref HEAD)
|
|
|
|
}
|
|
|
|
|
|
|
|
Write-Host "Building images with tag $imageTag" -ForegroundColor Yellow
|
|
|
|
$env:TAG=$imageTag
|
2018-07-02 13:41:00 +01:00
|
|
|
docker-compose -f "$scriptPath\..\docker-compose.yml" -f "$scriptPath\..\docker-compose.windows.yml" build
|