fixed create script

This commit is contained in:
ACoolName 2023-12-28 01:24:32 +02:00
parent 43aa9927bf
commit b5b70ec896
3 changed files with 3 additions and 4 deletions

View File

@ -3,5 +3,4 @@ if [[ -z $VERSION ]] ;
then
VERSION=$(curl https://api.papermc.io/v2/projects/paper | jq -r .versions\[-1\]);
fi;
docker build -t "minecraft:paper-$VERSION" . --build-arg VERSION=$VERSION --label type=GAME
echo version=$VERSION
docker build --label type=GAME -t "minecraft:paper-$VERSION" . --build-arg VERSION=$VERSION

View File

@ -1,2 +1,2 @@
#!/bin/zsh
docker build -t garrys-mod:latest . --label type=GAME
docker build --label type=GAME -t garrys-mod:latest .

View File

@ -1,2 +1,2 @@
#!/bin/zsh
docker build -t insugency-sandstorm:latest . --label type=GAME
docker build --label type=GAME -t insugency-sandstorm:latest .