I have a docker run command but it fails to run using docker run. However it run fine when we login to docker and running the command seprately
docker run --rm $image argocd app patch myapplication --patch='[{"op": "replace", "path": "/spec/source/path", "value": "newPath"}]' --type json
.......
Usage:
argocd app patch APPNAME [flags]
same command when running inside containers works ok. could be some problem with the quotes, I am not sure. any help appreciated.
its a bit complicated with single and double quote together