fix(ci): stop mounting repo over /app in CybeDefend container #2

Merged
linus merged 1 commits from fix/cybedefend-scan-app-mount into main 2026-09-12 11:48:32 +00:00
Owner

The CybeDefend CLI image runs from /app/cybedefend. Mounting the checked-out repo at /app shadowed the binary (exec: "/app/cybedefend": stat /app/cybedefend: no such file or directory). Mount at /src instead. Verified locally with docker run.

The CybeDefend CLI image runs from /app/cybedefend. Mounting the checked-out repo at /app shadowed the binary (`exec: "/app/cybedefend": stat /app/cybedefend: no such file or directory`). Mount at /src instead. Verified locally with docker run.
linus added 1 commit 2026-09-12 11:48:26 +00:00
fix(ci): stop mounting repo over /app in CybeDefend container
CybeDefend Security Scan / cybedefend_scan (pull_request) Successful in 24s
858c43a6aa
The CybeDefend CLI image runs from /app/cybedefend (its own binary and
sources live there). Mounting the checked-out repo at -v $WORKSPACE:/app
shadowed that binary, so the container failed with:

  exec: "/app/cybedefend": stat /app/cybedefend: no such file or directory

Mount the repo at /src instead so /app (and its entrypoint) stays intact.
Verified locally: docker run --rm -v <dir>:/src -w /src ghcr.io/cybedefend/cybedefend-cli:latest --help now runs correctly.
linus merged commit fb4b1e21cf into main 2026-09-12 11:48:32 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: linus/KC-APP-Server#2