Skip to content

Conversation

WzDTj
Copy link

@WzDTj WzDTj commented Sep 1, 2025

This pull request resolves a critical issue where the GH_TOKEN was not being correctly parsed when the application runs within a Docker container.

The previous Dockerfile used the exec form of the CMD instruction to start the application, which looked like this:

CMD ["start", "-g", "$GH_TOKEN"]

The reason this approach fails is fundamental to how Docker operates: the exec form of CMD does not run the command inside a command shell.

The value passed to the application for the -g flag was not the actual content of the GH_TOKEN variable. Instead, the application received the literal, un-expanded string $GH_TOKEN, which is not a valid token and therefore caused authentication to fail.

@WzDTj WzDTj changed the title fix: fix GH_TOKEN parsing problem in docker Fix GH_TOKEN parsing problem in docker Sep 1, 2025
@WzDTj WzDTj changed the title Fix GH_TOKEN parsing problem in docker Fix: Correctly Pass GH_TOKEN to Application in Docker Sep 1, 2025
@ericc-ch
Copy link
Owner

ericc-ch commented Oct 4, 2025

I think this should be fixed here, but let me know if it doesnt :)

#91

@WzDTj
Copy link
Author

WzDTj commented Oct 4, 2025

I think this should be fixed here, but let me know if it doesnt :)

#91

Yes, this issue has been fixed.

@WzDTj WzDTj closed this Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants