mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
Use the date as the version number for nightly builds
This commit is contained in:
parent
7b9fdd8185
commit
69287cf9a2
1 changed files with 2 additions and 1 deletions
|
@ -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}..."
|
||||
|
|
Loading…
Reference in a new issue