Commit edac99f4 authored by Jordan Petridis's avatar Jordan Petridis 🌱 Committed by GStreamer Merge Bot

windows/docker: allow to specify the branch to pull for gst-build

Similar to !232

Part-of: <!285>
parent 38719d0a
Pipeline #137994 waiting for manual action with stages
in 19 seconds
......@@ -6,6 +6,8 @@ FROM 'mcr.microsoft.com/windows/servercore:ltsc2019'
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV ErrorActionPreference='Stop'
ARG DEFAULT_BRANCH="master"
COPY install_choco.ps1 C:\
RUN C:\install_choco.ps1
......
......@@ -9,7 +9,7 @@ git config --global user.name "Gstbuild Runner"
(New-Object System.Net.WebClient).DownloadString("https://github.com") >$null
# Download gst-build and all its subprojects
git clone https://gitlab.freedesktop.org/gstreamer/gst-build.git C:\gst-build
git clone -b $env:DEFAULT_BRANCH https://gitlab.freedesktop.org/gstreamer/gst-build.git C:\gst-build
# download the subprojects to try and cache them
meson subprojects download --sourcedir C:\gst-build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment