When a GH Actions job declares a container:, the per-step run: shell
defaults to /bin/sh (dash on the cli image's debian base). The Create
build dependency package step uses $(stat -c'%u:%g' .git) inside an
unquoted heredoc, and dash fails to parse that with a cryptic
'Syntax error: "(" unexpected'. Pin shell: bash for both
process-ci-images and process-freeradius-images.
Also renames process-images to process-ci-images for clarity now
that it only covers the CI runner / build bases plus pull-through
caches.
# cache mirrors. Runs inside dind + the freshly-built docker-cli
# container.
#
- process-images:
+ process-ci-images:
needs: process-docker-cli
timeout-minutes: 20
defaults:
run:
+ shell: bash
working-directory: /workspace
strategy:
defaults:
run:
+ shell: bash
working-directory: /workspace
name: "freeradius4-{crossbuild,profiling-deps,service}-${{ matrix.os }}"