Zach P
09/26/2022, 5:16 PMDockerfile:44
--------------------
42 | ENV DAGSTER_CLOUD_URL=***
43 | ENV ACTIONS_STEP_DEBUG=true
44 | >>> ENV AWS_ACCESS_KEY_ID= ***
45 |
--------------------
ERROR: failed to solve: Syntax error - can't find = in "***". Must be of the form: name=value
Error: buildx failed with: ERROR: failed to solve: Syntax error - can't find = in "***". Must be of the form: name=value
Further up above, we see that the env_var dictionary that is constructed also adds this extra whitespace to AWS_ACCESS_KEY_ID and not to any other fields.
##[debug] "AWS_SECRET_ACCESS_KEY": "***",
##[debug] "DAGSTER_CLOUD_URL": "***",
##[debug] "ACTIONS_STEP_DEBUG": "true",
##[debug] "AWS_ACCESS_KEY_ID": " *** "
I’ve checked and my secret itself has no whitespace in it.
Any assistance here would be great 🙂, also perhaps confirmation regarding if serverless users should be passing envs in this manner, and if not, what the ‘best practice’ alternative isdaniel
09/26/2022, 5:27 PMZach P
09/26/2022, 5:30 PMdaniel
09/26/2022, 6:13 PM