fixed create script
This commit is contained in:
parent
43aa9927bf
commit
b5b70ec896
@ -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
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/bin/zsh
|
||||
docker build -t garrys-mod:latest . --label type=GAME
|
||||
docker build --label type=GAME -t garrys-mod:latest .
|
||||
|
@ -1,2 +1,2 @@
|
||||
#!/bin/zsh
|
||||
docker build -t insugency-sandstorm:latest . --label type=GAME
|
||||
docker build --label type=GAME -t insugency-sandstorm:latest .
|
||||
|
Loading…
x
Reference in New Issue
Block a user