use bzip2 for docker image

This commit is contained in:
AleaJactaEst 2018-06-28 12:13:47 +02:00
parent b1e8c96069
commit 9c756304f6

View file

@ -99,7 +99,7 @@ Linux server build:
- for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done - for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done
- echo "option '$option'" - echo "option '$option'"
- find /home/gameserver -type d -exec du -sh {} \; - find /home/gameserver -type d -exec du -sh {} \;
- tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download --exclude=khanat-debian-server.tar.gz $option -czf khanat-debian-server.tar.gz / - tar --numeric-owner --exclude=.git --exclude=.dockerenv --exclude=/proc --exclude=/sys --exclude=/builds --exclude=/opt/download --exclude=khanat-debian-server.tar.gz $option -cvjf khanat-debian-server.tar.gz /
- ls -lh khanat-debian-server.tar.gz - ls -lh khanat-debian-server.tar.gz
artifacts: artifacts:
name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch" name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch"