switch to rsync to use --filter="merge rsync-rules.txt" and set it to v3.0 for testing / set BUILD_TAG=3.0
All checks were successful
/ release-and-build (push) Successful in 39s

This commit is contained in:
user.name pi-farm
2026-02-25 10:54:27 +01:00
parent f670950464
commit 78ba2177c1
4 changed files with 10 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
## BUILD STAGE
BUILD_TAG=3.23
BUILD_TAG=3.0
BUILD_BASE_IMAGE=git.pi-farm.de/pi-farm/docker-baseimage-alpine:3.23
BUILD_MAINTAINER=pi-farm
BUILD_APP_VERSION=v${BUILD_TAG}

View File

@@ -6,33 +6,6 @@ fi
src=rsync://rsync.alpinelinux.org/alpine/
dest=/app/www/alpine/
exclude="--exclude v2.* \
--exclude v3.0 \
--exclude v3.1 \
--exclude v3.3 \
--exclude v3.4 \
--exclude v3.5 \
--exclude v3.6 \
--exclude v3.7 \
--exclude v3.8 \
--exclude v3.9 \
--exclude v3.10 \
--exclude v3.11 \
--exclude v3.12 \
--exclude v3.13 \
--exclude v3.14 \
--exclude v3.15 \
--exclude v3.16 \
--exclude v3.17 \
--exclude v3.18 \
--exclude v3.19 \
--exclude v3.20 \
--exclude v3.21 \
--exclude v3.22 \
--exclude v3.23 \
--exclude edge \
--exclude latest-stable"
mkdir -p "$dest"
/usr/bin/rsync \
--archive \
@@ -42,5 +15,5 @@ mkdir -p "$dest"
--delete-after \
--delay-updates \
--timeout=600 \
$exclude \
--filter"merge /config/rsync-rules.txt" \
"$src" "$dest"

View File

@@ -0,0 +1,3 @@
+ v3.0/
+ v3.0/**
- *

View File

@@ -9,6 +9,11 @@ if [ ! -f /config/rsyncd.conf ]; then
cp /defaults/rsyncd.conf /config/rsyncd.conf
fi
if [ ! -f /config/rsync-rules.txt ]; then
echo "Copy default-config..."
cp /defaults/rsync-rules.txt /config/rsync-rules.txt
fi
echo "Set permissions to PUID: ${PUID:-911} and PGID: ${PGID:-1000}"
chown -R "${PUID:-911}:${PGID:-1000}" /config
chown -R "${PUID:-911}:${PGID:-1000}" /app/www