Fix copy key file
What does this MR do and why?
Fixes the copy_key_file
method to avoid race conditions while docker mounting. Should fix: https://gitlab.com/gitlab-org/gitlab/-/issues/411511
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by George Koltsov