File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
2-
2+ set -e
33curl -O " https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/master/lgsm/data/serverlist.csv"
44
55while read line; do
@@ -10,6 +10,8 @@ while read line; do
1010 echo " Generating Dockerfile.${shortname} (${gamename} )"
1111 echo " shortname ${shortname} "
1212 docker build -f Dockerfile . --build-arg SHORTNAME=" ${shortname} " --build-arg SERVERNAME=" ${servername} " --build-arg GAMENAME=" ${gamename} " --build-arg DISTRO=" ${distro} " -t " highcard/gsm:${shortname} "
13+ echo " Pushing highcard/gsm:${shortname} "
14+ docker push " highcard/gsm:${shortname} "
1315done < <( tail -n +2 serverlist.csv)
1416
1517rm serverlist.csv
Original file line number Diff line number Diff line change 1414 username : ${{ secrets.SCROLL_REGISTRY_USER }}
1515 password : ${{ secrets.SCROLL_REGISTRY_PASSWORD }}
1616 - name : Build all LGSM games
17- run : cd .docker/linuxgsm/ && bash build-docker-images.sh
17+ run : cd .docker/linuxgsm/ && bash build-push- docker-images.sh
You can’t perform that action at this time.
0 commit comments