mirror of
https://github.com/dimalo/klipper-web-control-docker.git
synced 2026-05-07 16:58:08 +02:00
add development build with github actions to image tag "next"
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
schedule:
|
||||
- cron: "42 13 * * 0,2,5"
|
||||
|
||||
@@ -24,6 +25,11 @@ jobs:
|
||||
DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/klipper-moonraker
|
||||
VERSION=latest
|
||||
DATE=${{steps.date.outputs.date}}
|
||||
BRANCH=${GITHUB_REF##*/}
|
||||
|
||||
if [[ $BRANCH == 'develop' ]]; then
|
||||
VERSION=next
|
||||
fi
|
||||
|
||||
# If this is git tag, use the tag name as a docker tag
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user