potiuk commented on pull request #22625:
URL: https://github.com/apache/airflow/pull/22625#issuecomment-1083359550


   This will nicely handle moving "to" the new cache. The "inline" image cache 
should always be used from the remote image in `ghcr.io` to make sure latest 
version is used. Therefore we should remove the local image before the build. 
This is equivalent to "pull and force" but it has the nice property that buildx 
uses both caches for building so:
   
   1) If you built the image locally and the cache is "better" -it will be used 
to quickly rebuild the image
   2) But if the image changed significantly, the remote cache will be used
    


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