2021-09-25 21:28:04 +00:00
|
|
|
include docker.env
|
|
|
|
export $(shell sed 's/=.*//' docker.env)
|
|
|
|
|
|
|
|
SHELL = /bin/bash
|
2021-09-25 20:46:45 +00:00
|
|
|
GIT_COMMIT != git log --pretty=format:'%h' -n 1
|
|
|
|
|
2021-09-25 21:28:04 +00:00
|
|
|
|
2021-09-25 20:46:45 +00:00
|
|
|
build:
|
|
|
|
docker build \
|
2021-09-25 21:28:04 +00:00
|
|
|
--build-arg DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN} \
|
2021-09-25 20:46:45 +00:00
|
|
|
--build-arg YOUTUBE_COOKIES=${YOUTUBE_COOKIES} \
|
|
|
|
--build-arg GIT_COMMIT=${GIT_COMMIT} \
|
|
|
|
-t musicube:${GIT_COMMIT} -t musicube:latest \
|
|
|
|
.
|