Skip to content
Snippets Groups Projects
Commit 206498fa authored by Jithu Murugan's avatar Jithu Murugan
Browse files

Merge remote-tracking branch 'origin/dev' into dev

parents 0baf498b 2b350ba0
No related branches found
No related tags found
1 merge request!4feat(spack_operation): implement setup_spack_env functionality
import os
import time
import oras.client
from pathlib import Path
......@@ -46,7 +48,7 @@ class BuildCacheManager(BuildCacheManagerInterface):
rel_path = str(sub_path.relative_to(build_cache_path)).replace(str(sub_path.name), "")
target = f"{self._registry_host}/{self._registry_project}/{self.cache_version}:{str(sub_path.name)}"
try:
self._logger.info(f"Pushing folder '{sub_path}' to ORAS target '{target}' ...")
self._logger.info(f"Pushing file '{sub_path}' to ORAS target '{target}' ...")
self._client.push(
files=[str(sub_path)],
target=target,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment