From 0a8a5249fb55142e48923ac47defd9b58d7db62b Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 12 Jul 2026 12:06:07 -0400 Subject: [PATCH] ci: work around broken entrypoint in sourcemod-spcomp image --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2216e7..f2554d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -127,8 +127,12 @@ jobs: status=0 for f in Pawn/*.sp; do echo "::group::${f}" + # The published image's declared entrypoint (/usr/local/bin/spcomp) doesn't + # match where the binary actually lives, so locate it ourselves. docker run --rm -v "${{ github.workspace }}:/work" -w /work \ + --entrypoint /bin/sh \ ghcr.io/alliedmodders/sourcemod-spcomp:master \ + -c 'spcomp=$(find /usr/local/bin -maxdepth 2 -name spcomp -type f | head -n1); exec "$spcomp" "$@"' sh \ -i Pawn/includes -i sourcemod/plugins/include \ "${f}" -o "compiled/$(basename "${f%.sp}.smx")" \ || status=1