Use double quotes consistently for shell scripts (#14938)
## Summary
The release failed
(https://github.com/astral-sh/ruff/actions/runs/12298190472/job/34321509636)
because the shell script in the Docker release workflow was using single
quotes instead of double quotes.
This is related to https://www.shellcheck.net/wiki/SC2016. I found it
via [`actionlint`](https://github.com/rhysd/actionlint). Related #14893.
I also went ahead and fixed https://www.shellcheck.net/wiki/SC2086 which
were raised in a couple of places.