docker build doesn't include the .git directory, so git rev-parse --short HEAD fails when trying to set the bot's status message. One possible solution is to move Docker builds to Travis, then use docker push so we can use Travis to set default environment variables for the image
Steps to Reproduce the Bug
Launch the bot using the Docker container (ralphorama/santabot)
Watch log output
The Bug Affects
[x] The Discord Bot
[ ] The Database or API
[ ] Other program functionality (.env, scripts, etc.)
Description of the Bug
docker build
doesn't include the.git
directory, sogit rev-parse --short HEAD
fails when trying to set the bot's status message. One possible solution is to move Docker builds to Travis, then usedocker push
so we can use Travis to set default environment variables for the imageSteps to Reproduce the Bug
ralphorama/santabot
)The Bug Affects
.env
, scripts, etc.)