11 lines
324 B
Makefile
11 lines
324 B
Makefile
|
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 \
|
||
|
.
|