containers: fix spcomp binary path and widen dev-branch trigger

This commit is contained in:
Nicholas Hastings
2026-07-12 12:58:03 -04:00
parent d9128d874b
commit bd1bde7def
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ on:
push:
branches:
- master
- '[0-9]+.[0-9]+-dev'
tags:
- '*'
pull_request:
+3 -1
View File
@@ -11,6 +11,8 @@ RUN mkdir build && cd build && \
# Runtime stage
FROM debian:bullseye-slim
COPY --from=builder /build/sourcepawn/build/spcomp /usr/local/bin/
# AMBuild names the per-target output folder <platform>-<arch>; since this stage
# always builds linux/x86_64, that's deterministically "linux-x86_64".
COPY --from=builder --chmod=0755 /build/sourcepawn/build/spcomp/linux-x86_64/spcomp /usr/local/bin/spcomp
ENTRYPOINT ["/usr/local/bin/spcomp"]