devcontainers / devcontainers/ci

bash -i as runCmd not working

Open
#291 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
496
Forks
101
PR merge metrics
No merged PRs in 30d

Description

In my dev container I need to run the `clj` command in an **interactive** bash, so I try

```yaml
steps:
- uses: actions/checkout@v4
- name: Run make ci-build in dev container
uses: devcontainers/ci@v0.3
with:
push: never
runCmd: bash -i -c "clj -X:test"
```

but it does no work. I don't get an error, but it drops into an interactive `clj` shell, which comes when calling
`clj` without any params.
Same with single quotes:

```yaml
steps:
- uses: actions/checkout@v4
- name: Run make ci-build in dev container
uses: devcontainers/ci@v0.3
with:
push: never
runCmd: bash -i -c 'clj -X:test'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.