mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 03:16:33 +00:00
5cd3f68842
These are moved now into gstreamer-rs repository. https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/701 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2395>
18 lines
No EOL
488 B
PowerShell
18 lines
No EOL
488 B
PowerShell
$env:ErrorActionPreference='Stop'
|
|
|
|
$env:DEFAULT_BRANCH='main'
|
|
$env:VERSION='test'
|
|
$env:tag ="registry.freedesktop.org/gstreamer/gst-ci/amd64/windows:$env:VERSION-$env:DEFAULT_BRANCH"
|
|
|
|
Set-Location './docker/windows/'
|
|
|
|
Get-Date
|
|
Write-Output "Building $env:tag"
|
|
docker build --isolation=hyperv -m 12g --build-arg DEFAULT_BRANCH=$env:DEFAULT_BRANCH -f Dockerfile -t $env:tag .
|
|
if (!$?) {
|
|
Write-Host "Failed to build docker image $env:tag"
|
|
Exit 1
|
|
}
|
|
|
|
Get-Date
|
|
Write-Output "Build Finished" |