Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
  • Loading branch information
zhuwenxing committed Dec 17, 2024
1 parent 9b0b7c7 commit 38d8ab9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/get_image_tag_by_short_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,8 @@ def get_image_tag_by_short_name(repository, tag, arch):
argparse.add_argument("--tag", type=str, default="master-latest")
argparse.add_argument("--arch", type=str, default="amd64")
args = argparse.parse_args()
res = get_image_tag_by_short_name(args.repository, args.tag, args.arch)
print(res)
if "latest" not in args.tag:
print(args.tag)
else:
res = get_image_tag_by_short_name(args.repository, args.tag, args.arch)
print(res)

0 comments on commit 38d8ab9

Please sign in to comment.