blob: cc03883b254db3502663c4e9ef1ad82b65234f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/bash
PUSH=$1
build_image () {
docker build -t studip/$2 --platform=linux/amd64 -f $1/Dockerfile .
if [[ $PUSH = 'push' ]]; then
docker push studip/$2
fi
}
build_image tests/php83 studip:tests-php8.3 &
build_image tests/php82 studip:tests-php8.2 &
build_image tests/php81 studip:tests-php8.1 &
build_image release-cli release-cli &
wait
echo "Images built"
|