You've already forked docker-armbian-build
mirror of
https://github.com/armbian/docker-armbian-build.git
synced 2026-01-06 10:38:10 -08:00
Reverse EOS detection logic in workflow
Changed the logic to include all distributions except those marked as EOS (End of Service), rather than only including those explicitly marked as "supported". This makes the workflow more inclusive and reduces maintenance overhead.
This commit is contained in:
18
.github/workflows/build-docker-images.yml
vendored
18
.github/workflows/build-docker-images.yml
vendored
@@ -41,9 +41,9 @@ jobs:
|
||||
for dist_file in armbian-build/config/distributions/*/support; do
|
||||
[ -f "$dist_file" ] || continue
|
||||
|
||||
# Check if distribution is marked as "supported" (not "eos" or unsupported)
|
||||
if ! grep -q "supported" "$dist_file"; then
|
||||
echo "::debug::Skipping $(basename $(dirname $dist_file)) - not marked as supported"
|
||||
# Skip distribution if marked as EOS (End of Service)
|
||||
if grep -qi "eos" "$dist_file"; then
|
||||
echo "::debug::Skipping $(basename $(dirname $dist_file)) - marked as EOS"
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -96,11 +96,9 @@ jobs:
|
||||
arm64)
|
||||
docker_platform="linux/arm64"
|
||||
;;
|
||||
armhf)
|
||||
docker_platform="linux/arm/v7"
|
||||
;;
|
||||
riscv64)
|
||||
docker_platform="linux/riscv64"
|
||||
armhf|riscv64)
|
||||
echo "::debug::Skipping $arch - fragile. Will use in the future or drop entirely"
|
||||
continue
|
||||
;;
|
||||
*)
|
||||
echo "::warning::Unknown architecture $arch, skipping"
|
||||
@@ -265,8 +263,8 @@ jobs:
|
||||
for dist_file in armbian-build/config/distributions/*/support; do
|
||||
[ -f "$dist_file" ] || continue
|
||||
|
||||
# Check if distribution is marked as "supported"
|
||||
if ! grep -q "supported" "$dist_file"; then
|
||||
# Skip distribution if marked as EOS (End of Service)
|
||||
if grep -qi "eos" "$dist_file"; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user