Issue running cloudquery sync command in docker after auth updates

Hi again, I am trying to run CloudQuery inside Docker and I usually invoke the CLI command from my application code:

cloudquery sync

But after the latest updates with auth, I am unable to run the same command despite setting API_KEY as an environment variable. Any tips on how to do this correctly?

Hi @fun-griffon, how are you setting the env variable? I would add a command to print it before the sync to see if it gets added correctly.

Hey Erez, sure let me try this once.
For now, I just add all my variables in an .env file and pass it at the time of running the Docker container.
Hey @erez, sorry it took me some time. I was testing it, and it is working for now.

Ah nice, what was the issue?

No issues found, but it was a bit weird that it didn’t work at first.

Cool, at least it’s working.
Thanks for following up.

I probably think it was the old binary that was getting downloaded. Updated the Docker config and it seems to be working.

Thanks a lot for your swift response, I really appreciate your efforts :slightly_smiling_face: Have a nice day.

Have a lovely day! :tada: