potiuk commented on pull request #47:
URL: https://github.com/apache/airflow-ci-infra/pull/47#issuecomment-1017848742


   > Is this necessary to update the caché?
   
   Yep. Cache rebuild will only work when the plugin is installed
   Installing plugin adds "buildx" command: 
https://docs.docker.com/engine/reference/commandline/buildx_build/
   
   And we are using it to build cache:
   * CI Image here: 
https://github.com/apache/airflow/blob/4748276f13f3b455fedbebd448b6aa3272cef2d5/scripts/ci/libraries/_build_images.sh#L476
   * PROD image here:
   
https://github.com/apache/airflow/blob/4748276f13f3b455fedbebd448b6aa3272cef2d5/scripts/ci/libraries/_build_images.sh#L630
   
   The ``--cache-to`` option is only available in "docker buildx build" 
command. The regular `docker build` can only use ``--cache-from` : 
https://docs.docker.com/engine/reference/commandline/build/
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to