You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
383 B

  1. Param([string] $imageTag)
  2. $scriptPath = Split-Path $script:MyInvocation.MyCommand.Path
  3. if ([string]::IsNullOrEmpty($imageTag)) {
  4. $imageTag = $(git rev-parse --abbrev-ref HEAD)
  5. }
  6. Write-Host "Building images with tag $imageTag" -ForegroundColor Yellow
  7. $env:TAG=$imageTag
  8. docker-compose -f "$scriptPath\..\docker-compose.yml" -f "$scriptPath\..\docker-compose.windows.yml" build