Files
Ayaz Salikhov 2c1df4020a Make taggers manifest functions (#2252)
* Make taggers and manifests functions

* Add changelog
2025-03-12 16:05:09 +00:00

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()