docker/windows: build rust image in the ci
authorJordan Petridis <jordan@centricular.com>
Sat, 30 Jan 2021 09:46:07 +0000 (11:46 +0200)
committerJordan Petridіs <jpetridis@gnome.org>
Wed, 8 Sep 2021 04:47:36 +0000 (04:47 +0000)
commit5c536f2601bbb547b566e5835af1131762eb2f66
tree594c9b5ff874a5db481d6fe5012674f1e9119fd6
parent9c21b05d1bf438d728a69d94c3acae8ddf85d496
docker/windows: build rust image in the ci

This makes it a bit harder to build an image locally with the script,
as now the rust image requires to pass it the base image tag as a
--build-arg. This way though we don't need to duplicate and keep
the string of the image in sync.

Another thing is that now the docker windows image build is properly
passing/replacing build args and we can build non-master versions
of the image too.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-ci/-/merge_requests/405>
docker/windows/build_image.ps1
docker/windows/container.ps1
docker/windows/rust.Dockerfile
gitlab/ci_template.yml