mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 23:00:56 +00:00
fix: travis.py for node image tag
This commit is contained in:
parent
4f904fe3b9
commit
ed60f76e78
@ -41,7 +41,7 @@ def git_version(service, version, branch):
|
|||||||
def build(service, tag, image, branch):
|
def build(service, tag, image, branch):
|
||||||
build_args = f'--build-arg GIT_BRANCH={branch}'
|
build_args = f'--build-arg GIT_BRANCH={branch}'
|
||||||
if service == 'nginx' and branch == 'version-11':
|
if service == 'nginx' and branch == 'version-11':
|
||||||
build_args += f' --build-arg NODE_IMAGE_TAG=10-prod'
|
build_args += f' --build-arg NODE_IMAGE_TAG=10-buster-slim'
|
||||||
|
|
||||||
print(f'Building {service} {image} image')
|
print(f'Building {service} {image} image')
|
||||||
subprocess.run(f'docker build {build_args} -t {service}-{image} -f build/{service}-{image}/Dockerfile .', shell=True)
|
subprocess.run(f'docker build {build_args} -t {service}-{image} -f build/{service}-{image}/Dockerfile .', shell=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user