onnxruntime/tools/ci_build/github/azure-pipelines/templates
Edward Chen 71e7c2b423
Cache build docker images in container registry. (#5811)
This PR adds infrastructure to automatically cache docker images used in CI builds in a container registry.

Currently, build images are pulled from a container registry for some builds and built every time for others. The container registry requires maintenance to keep the images up to date and building images every time wastes build agent resources.

With this change, a given build image can be looked up in a cache container registry and if present, pulled, and otherwise, built and pushed. The uniqueness of a build image is determined by a hash digest of the dockerfile, docker build context directory, and certain "docker build" options. This digest is part of the image tag in the cache container repository.

The cache container registry will need to be cleaned up periodically. This is not automated yet.
2020-11-17 17:02:24 -08:00
..
c-api-artifacts-package-and-publish-steps-posix.yml
c-api-artifacts-package-and-publish-steps-windows.yml Fix component governance and codesign validation errors (#4277) 2020-06-18 15:54:18 -07:00
clean-agent-build-directory-step.yml
compliance.yml
component-governance-component-detection-steps.yml Docker image release build updates (#5326) 2020-10-01 12:25:31 -07:00
esrp_nuget.yml
java-api-artifacts-package-and-publish-steps-posix.yml Create Java publishing pipeline (#3944) 2020-06-01 18:18:57 -07:00
java-api-artifacts-package-and-publish-steps-windows.yml Java GPu artifact naming (#4179) 2020-06-10 11:15:48 -07:00
java-test-final-jar-step.yml Create Java publishing pipeline (#3944) 2020-06-01 18:18:57 -07:00
linux-ci.yml Cache build docker images in container registry. (#5811) 2020-11-17 17:02:24 -08:00
linux-set-variables-and-download.yml Avoid building ONNX of every history ONNX versions in our CI (#4678) 2020-08-03 10:18:10 -07:00
mac-ci.yml Downgrade GCC (#5269) 2020-09-24 21:14:54 -07:00
mac-esrp-dll.yml [Node.js binding] add linux and mac package (#4157) 2020-06-08 14:12:05 -07:00
py-packaging-stage.yml Increase build timeouts. 2020-11-09 22:26:27 -08:00
run-docker-build-steps.yml Cache build docker images in container registry. (#5811) 2020-11-17 17:02:24 -08:00
set-nightly-build-option-variable-step.yml Refactor Python packaging builds (#4283) 2020-06-22 17:13:22 -07:00
set-py-packaging-variables-step.yml Refactor Python packaging builds (#4283) 2020-06-22 17:13:22 -07:00
set-test-data-variables-step.yml
set-version-number-variables-step.yml
telemetry-steps.yml Fix telemetry-steps.yml (#4903) 2020-08-24 22:14:40 -07:00
validate-nuget.yml
win-ci-2019.yml Fix nuget build (#5163) 2020-09-16 10:37:09 -07:00
win-ci-arm.yml remove ENABLE_TELEMETRY macro (#4633) 2020-07-27 20:06:11 -07:00
win-esrp-dll.yml [Node.js binding] add linux and mac package (#4157) 2020-06-08 14:12:05 -07:00
windows-build-and-test-steps.yml Revert change to disable support for loading ORT format models in the packaging pipelines. (#5168) 2020-09-15 15:11:06 +10:00
windows-build-tools-setup-steps.yml Fix nuget build (#5163) 2020-09-16 10:37:09 -07:00
windows-code-coverage-steps.yml
windowsai-nuget-build.yml Add static CRT DLLs to Nuget package (#5661) 2020-11-05 09:26:17 -08:00
with-build-docker-image-cache-steps.yml Cache build docker images in container registry. (#5811) 2020-11-17 17:02:24 -08:00