#i'm trying to run one of the agents, the
1 messages · Page 1 of 1 (latest)
oh i guess i can try this instead: dagger shell -c "optimize-dockerfile $GITHUB_TOKEN https://github.com/username/repository"
ok that worked, the instructions were a bit unclear but it's cooking!
ok, i ran into an issue with my github token, possibly b/c i didn't give my token the right permissions
hm, yeah i created "classic" github token with access to everything and still ran into the github auth issue
assuming the githubToken is a dagger.Secret you probably want to pass GITHUB_TOKEN and not $GITHUB_TOKEN
The explanation is that a Secret input takes a name of an environment variable (or file, or command, or secret provider reference) to turn into a Secret, and not a plaintext value
got it, ok let me try that
env://GITHUB_TOKEN makes that distinction more obvious, maybe we should standardize on that notation in examples?
that fixed it! https://github.com/jmvldz/pandas/pull/1