removed the need for password for user
This commit is contained in:
parent
268cf9867d
commit
2ae1d28f45
@ -1,7 +1,7 @@
|
||||
#!/bin/zsh
|
||||
#!/bin/sh
|
||||
if [[ -z $VERSION ]] ;
|
||||
then
|
||||
VERSION=$(curl https://api.papermc.io/v2/projects/paper | \
|
||||
jq -r .versions[-1]);
|
||||
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}
|
||||
docker build -t "minecraft:paper-$VERSION" . --build-arg VERSION=$VERSION
|
||||
echo version=$VERSION
|
||||
|
Loading…
x
Reference in New Issue
Block a user