From 09db4487eec421e8a2a983007b2fb0715186c687 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sun, 28 Dec 2025 18:36:13 +0100 Subject: [PATCH] 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. --- .github/workflows/build-docker-images.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index 65cd3c4..7c78b19 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -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