Get rid of /app hardcodes

Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
InsanePrawn 2021-09-30 17:18:32 +02:00
parent 0e21f9060d
commit 482c5f8111
6 changed files with 7 additions and 7 deletions

View file

@ -49,7 +49,7 @@ def wrap_docker():
results.append(arg)
return results
script_path = os.path.dirname(os.path.realpath(__file__))
script_path = config.runtime['script_source_dir']
with open(os.path.join(script_path, 'version.txt')) as version_file:
version = version_file.read().replace('\n', '')
tag = f'registry.gitlab.com/kupfer/kupferbootstrap:{version}'