musicube/Makefile

11 lines
324 B
Makefile
Raw Normal View History

2021-09-25 20:46:45 +00:00
GIT_COMMIT != git log --pretty=format:'%h' -n 1
build:
source <(cat docker.env | sed -e 's/^/export /g')
docker build \
--build-arg DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN} \
--build-arg YOUTUBE_COOKIES=${YOUTUBE_COOKIES} \
--build-arg GIT_COMMIT=${GIT_COMMIT} \
-t musicube:${GIT_COMMIT} -t musicube:latest \
.