Get rid of /app hardcodes
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
This commit is contained in:
parent
0e21f9060d
commit
482c5f8111
6 changed files with 7 additions and 7 deletions
|
@ -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}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue