devcontainers / ci

A GitHub Action and Azure DevOps Task designed to simplify using Dev Containers (https://containers.dev) in CI/CD systems.
MIT License
350 stars 56 forks source link

bash -i as runCmd not working #291

Open behrica opened 6 months ago

behrica commented 6 months ago

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

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:

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'