Files
kristoffer.morsing/.workflow/01_container_build.sh
KristofferMorsing 37c4f22fe2
All checks were successful
DMA-CSD-CICD/kristoffer.morsing/pipeline/head This commit looks good
new .workflow
2026-04-07 12:33:41 +02:00

20 lines
558 B
Bash

#!/bin/bash
/bin/echo "$0 - Building all containers [$(pwd)]"
echo "USER: $UID"
echo "Will build:"
/bin/find ./ -type f -name "*.csproj" | while read line; do
solution=$(echo "$line" | cut -f 2 -d '/')
project=$(echo "$line" | cut -f 3 -d '/')
echo "[$solution]:[$project]"
done
/bin/find ./ -type f -name "*.csproj" | while read line; do
solution=$(echo "$line" | cut -f 2 -d '/')
project=$(echo "$line" | cut -f 3 -d '/')
echo "Building [$solution] [$project]"
.workflow/DotDockerbuilder8.sh --solution $solution --project $project
done