Skip to content

Commit

Permalink
Generated docker image name - always lower case (#87)
Browse files Browse the repository at this point in the history
* docker image name - always lowercase
  • Loading branch information
anandhu-eng authored Dec 29, 2024
1 parent c52956b commit ca9263a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/build-docker-image/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def preprocess(i):
docker_image_name = "cm-script-" + \
env.get('CM_DOCKER_RUN_SCRIPT_TAGS', '').replace(
',', '-').replace('_', '-')
env['CM_DOCKER_IMAGE_NAME'] = docker_image_name

env['CM_DOCKER_IMAGE_NAME'] = docker_image_name.lower()

if env.get("CM_DOCKER_IMAGE_TAG", "") == '':
env['CM_DOCKER_IMAGE_TAG'] = "latest"
Expand Down

0 comments on commit ca9263a

Please sign in to comment.