"Derive image tags" expanded ${{ github.ref }} into the run: body. A
ref name may contain $(...) and the expansion happens before the shell
parses the script, so it now arrives via env: REF instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>