Add CI builds

This commit is contained in:
Gytis Stoškevičius 2025-03-31 07:16:25 +00:00
parent 505ab90bc0
commit 5e4aede455
11 changed files with 360 additions and 251 deletions

19
prepare_image.sh Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -Eeuo pipefail
source env.sh
echo "start to build and install windows"
docker compose up windows-build -d --wait --build
echo "windows installed, now stop container"
docker stop windows-build
echo "commit all the changes"
docker commit windows-build "$IMAGE_NAME:$IMAGE_VERSION"
docker images
docker push "$IMAGE_NAME:$IMAGE_VERSION"
echo "start container with windows installed"
docker compose up windows-installed -d --wait