Include an experimental tag for... experiments.

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner
2025-10-26 13:51:19 +00:00
parent 9fbc31da8c
commit 821ed113fe
2 changed files with 16 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ on:
push:
branches:
- development
- experimental
release:
types: [published]
@@ -68,7 +69,8 @@ jobs:
latest=${{ startsWith(github.ref, 'refs/tags/') }}
tags: |
type=schedule,pattern=nightly
type=raw,value=nightly,enable=${{ github.event_name == 'push' }}
type=raw,value=nightly,enable=${{ github.event_name == 'push' && github.ref == 'refs/heads/development' }}
type=raw,value=experimental,enable=${{ github.event_name == 'push' && github.ref == 'refs/heads/experimental' }}
type=ref,event=tag
- &login-dockerhub

View File

@@ -20,6 +20,19 @@ start() {
# shellcheck source=/dev/null
. /usr/bin/bash_functions.sh
# Warn about experimental builds
if [ -f /pihole.docker.tag ] && grep -q "experimental" /pihole.docker.tag; then
echo ""
echo " ⚠⚠⚠ WARNING ⚠⚠⚠"
echo " [!] This is an EXPERIMENTAL build of Pi-hole Docker"
echo " [!] This build may be unstable or contain breaking changes"
echo " [!] Use only if you have been asked to by the Pi-hole team"
echo " [!] Report any issues to: https://github.com/pi-hole/docker-pi-hole/issues"
echo " ⚠⚠⚠ WARNING ⚠⚠⚠"
echo ""
sleep 5
fi
# If the file /etc/pihole/setupVars.conf exists, but /etc/pihole/pihole.toml does not, then we are migrating v5->v6
# FTL Will handle the migration of the config files
if [[ -f /etc/pihole/setupVars.conf && ! -f /etc/pihole/pihole.toml ]]; then