onnxruntime/tools/ci_build
Yi Zhang 338e6672dd
use build.sourceversion in cache image key (#15019)
### Description
Use build.sourceversion in docker image cache key.



### Motivation and Context
We used filpath as the cache key in #14496.
In most cases, the docker base image tag is latest.
So, the hash of the files couldn't be aware of the change of base image.
As the result, the docker image restored, but the image will still be
rebuilt .
The maintenance cost would be huge if we pin image hash in docker file.
For example,
https://quay.io/repository/pypa/manylinux2014_x86_64?tab=tags&tag=latest,
it's updated almost every week.
So far, the build.sourceversion is the right way to keep cache is
updated and valid.
2023-03-24 10:01:22 +08:00
..
github use build.sourceversion in cache image key (#15019) 2023-03-24 10:01:22 +08:00
__init__.py
amd_hipify.py [ROCm] Enable Sampling Op UT on AMD (#14581) 2023-02-06 20:52:06 -08:00
build.py Fix test_custom_op_get_const_input inference test on Android CI (#15132) 2023-03-22 23:02:42 -07:00
clean_docker_image_cache.py
coverage.py
gen_def.py OnnxRuntime QNN EP (#14791) 2023-03-01 13:48:20 -08:00
get_docker_image.py use build.sourceversion in cache image key (#15019) 2023-03-24 10:01:22 +08:00
logger.py
op_registration_utils.py
op_registration_validator.py Update CUDA ArgMin/ArgMax op kernels to have end version 11 since opset 12+ is not supported yet. (#13983) 2022-12-21 19:01:00 -05:00
patch_manylinux.py detach patch manylinux from get_docker_image (#14958) 2023-03-09 15:40:58 +08:00
policheck_exclusions.xml Exculde hipify option from policheck (#13431) 2022-10-25 16:35:16 +08:00
reduce_op_kernels.py Fix broken and outdated links in documentation (#14092) 2023-02-23 10:48:04 -08:00
replace_urls_in_deps.py Move C/C++ deps' URLs to deps.txt (#13769) 2022-11-29 18:06:35 -08:00
requirements.txt upgrade protobuf to 3.20.2 and onnx to 1.13 (#14279) 2023-01-31 12:55:09 -08:00
update_tsaoptions.py
upload_python_package_to_azure_storage.py