potiuk commented on PR #23775:
URL: https://github.com/apache/airflow/pull/23775#issuecomment-1130021736

   I've implemented a more complete fix @eladkal.
   
   The problem was that the image was missing at the moment "fix-ownership" was 
run - and the image was there but it did not have the "latest" tag set. So the 
original fix woudl work, however I looked more closely and I figured out that 
similar problem could be in other places.
   
   The `fix-ownership` was always using the default image assuming that one is 
available. However in a number of jobs where the images were build or used for 
different python version, the default "python 3.7" image was not available 
either.
   
   But "fix-ownership" really needs "an image" - not necessarily the default 
"3.7" image. So I figured out that better approach will be to  check which 
image is available and use it - and (as the last resort) pull the default 
image. 
   
   This PR now changed it and we should get back some of the build time.


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