mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 10:04:03 +00:00
10 lines
289 B
Python
10 lines
289 B
Python
# Copyright (c) Jupyter Development Team.
|
|
# Distributed under the terms of the Modified BSD License.
|
|
from docker.models.containers import Container
|
|
|
|
from tagging.utils.git_helper import GitHelper
|
|
|
|
|
|
def commit_sha_tagger(container: Container) -> str:
|
|
return GitHelper.commit_hash_tag()
|