New version

This commit is contained in:
Jonathan Ervine 2020-12-29 23:30:23 +08:00
parent b566d625c6
commit 135d2cbe0f
2 changed files with 5 additions and 2 deletions

View File

@ -21,7 +21,7 @@ RUN zypper -n in tar wget gzip && \
cd /pmmp && tar zxvf PHP-7.3-Linux-x86_64.tar.gz
ADD php.ini /pmmp/bin/php7/bin/php.ini
RUN rm /pmmp/PHP-7.3-Linux-x86_64.tar.gz && \
wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.13.0/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar && \
wget -q -O - https://github.com/pmmp/PocketMine-MP/releases/download/3.17.2/PocketMine-MP.phar > /pmmp/PocketMine-MP.phar && \
chown -R $PM_USER:$PM_GROUP /pmmp
VOLUME /plugins

5
Jenkinsfile vendored
View File

@ -27,9 +27,12 @@ spec:
stage('Build with Kaniko') {
git url: 'ssh://git@git.ervine.org/jonny/x86_64-suse-pocketmine.git', credentialsId: 'jenkins-to-git'
container('kaniko') {
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/library/x86_64/suse/pocketmine:3.13'
sh '/kaniko/executor -f `pwd`/Dockerfile -c `pwd` --cache=true --destination=harbor.ervine.dev/public/x86_64/suse/pocketmine:3.17.2'
}
}
stage('Notify gchat') {
hangoutsNotify message: "Pocketmine on SUSE Linux has built",token: "A2ET831pVslqXTqAx6ycu573r",threadByJob: false
}
}
}