diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b2313a..98e2a38 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,6 +96,7 @@ Linux server build: - rm -f /opt/servercontainer* # Create image - option="" + - echo "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch" > /home/gameserver/version.txt - for dir in /home/* ; do if [ $dir != '/home/gameserver' ] ; then option="$option --exclude=$dir" ; fi ; done - echo "option '$option'" - find /home/gameserver -type d -exec du -sh {} \; @@ -105,5 +106,5 @@ Linux server build: name: "khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-server-debian-stretch" paths: - khanat-debian-server.tar.bz2 - expire_in: 2 hour + expire_in: 2 week