Use the date as the version number for nightly builds

This commit is contained in:
Gabe Kangas 2021-03-30 17:06:20 -07:00
parent 7b9fdd8185
commit 69287cf9a2

View file

@ -1,7 +1,8 @@
# Docker build
# Must authenticate first: https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages#authenticating-to-github-packages
DOCKER_IMAGE="owncast"
VERSION="nightly"
DATE=$(date +"%Y%m%d")
VERSION="${DATE}-nightly"
GIT_COMMIT=$(git rev-list -1 HEAD)
echo "Building Docker image ${DOCKER_IMAGE}..."