fix(ci): run computer image tooling checks without login shell
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
efde47ed22
commit
b7109bd6ba
@ -4,9 +4,9 @@ set -euo pipefail
|
||||
IMAGE="${RAKAZO_COMPUTER_IMAGE:-rakazo/computer:local}"
|
||||
|
||||
for tool in git gh ssh curl; do
|
||||
docker run --rm "$IMAGE" bash -lc "command -v $tool >/dev/null"
|
||||
docker run --rm "$IMAGE" bash -c "command -v $tool >/dev/null"
|
||||
done
|
||||
|
||||
docker run --rm "$IMAGE" bash -lc 'git --version | grep -q "^git version "'
|
||||
docker run --rm "$IMAGE" bash -lc 'gh --version | grep -q "^gh version "'
|
||||
docker run --rm "$IMAGE" bash -lc 'test "$(command -v git)" = "/usr/local/lib/rakazo/bin/git"'
|
||||
docker run --rm "$IMAGE" bash -c 'git --version | grep -q "^git version "'
|
||||
docker run --rm "$IMAGE" bash -c 'gh --version | grep -q "^gh version "'
|
||||
docker run --rm "$IMAGE" bash -c 'test "$(command -v git)" = "/usr/local/lib/rakazo/bin/git"'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user