Skip to content

Commit

Permalink
Improve docker version detect
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Jul 10, 2024
1 parent 131ff94 commit 1d82b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/get-docker/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def preprocess(i):
return {'return':0}

def detect_version(i):
r = i['automation'].parse_version({'match_text': r'Docker version\s*([\d.]+)',
r = i['automation'].parse_version({'match_text': r'[Docker|podman] version\s*([\d.]+)',
'group_number': 1,
'env_key':'CM_DOCKER_VERSION',
'which_env':i['env']})
Expand Down

0 comments on commit 1d82b29

Please sign in to comment.