Im my CI/CD configuration pipeline, I have this command in the script of the job :
- echo 'Acquire::http::Proxy "http://myproxy:8080";' >> /etc/apt/apt.conf.d/70debconf
I want to replace http://myproxy:8080 (without double quote) with a variable ${MY_VAR} but if i replace the proxy url by the variable, this one is not traduce
- echo 'Acquire::http::Proxy "${MY_VAR}";' >> /etc/apt/apt.conf.d/70debconf
Ther is simple quote and doubloe quote in the script ... how can I do ?