From 3083fff770b580d54bf59a037dd2e6a45c1e0f6a Mon Sep 17 00:00:00 2001 From: romeroalx Date: Tue, 9 Sep 2025 12:04:15 +0200 Subject: [PATCH] build-docker-images.yml: cleanup generation of runner list. Thanks @habbie --- .github/workflows/build-docker-images.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build-docker-images.yml b/.github/workflows/build-docker-images.yml index bbeb19146..401aedb52 100644 --- a/.github/workflows/build-docker-images.yml +++ b/.github/workflows/build-docker-images.yml @@ -69,7 +69,7 @@ jobs: [[ "${REF}" == "master" ]] || git describe --tags --exact-match prepare-runner-os-list: - name: generate runner list + name: generate list of runner-architecture pairs based on the input "platforms" runs-on: ubuntu-24.04 outputs: runnerlist: ${{ steps.get-runnerlist.outputs.runnerlist }} @@ -83,10 +83,6 @@ jobs: echo $INPUT_PLATFORMS | grep -qq arm64 && runner_os_arch+=($(jo arch=linux/amd64 runner=ubuntu-24.04)) echo $INPUT_PLATFORMS | grep -qq arm64 && runner_os_arch+=($(jo arch=linux/arm64 runner=ubuntu-24.04-arm)) echo "runnerlist=$(jo -a ${runner_os_arch[@]})" >> "$GITHUB_OUTPUT" - # Fail if there are no runners for the requested architecture - if [[ -z "${runner_os_arch[@]}" ]]; then - echo "No runners available for $INPUT_PLATFORMS" && exit 1 - fi build: name: build ${{ matrix.platform.arch }} docker image for a product -- 2.47.3