mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +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
|
# 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
|
# 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"
|
DOCKER_IMAGE="owncast"
|
||||||
VERSION="nightly"
|
DATE=$(date +"%Y%m%d")
|
||||||
|
VERSION="${DATE}-nightly"
|
||||||
GIT_COMMIT=$(git rev-list -1 HEAD)
|
GIT_COMMIT=$(git rev-list -1 HEAD)
|
||||||
|
|
||||||
echo "Building Docker image ${DOCKER_IMAGE}..."
|
echo "Building Docker image ${DOCKER_IMAGE}..."
|
||||||
|
|
Loading…
Reference in a new issue