You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to move a GitHub Actions CI workflow to use a pre-existing devcontainer configuration for a Ruby on Rails application. The configuration works locally in VS Code, but I'm having trouble getting it to run as an action. I have a feeling I'm missing something simple.
Following the "simplest example" code from the Getting Started docs:
name: CIon:
push:
branches:
- my-feature-branchpull_request:
jobs:
tests:
name: Run test suiteruns-on: ubuntu-lateststeps:
- name: Check out codeuses: actions/checkout@v3
- name: Create environment filesrun: | cp .env.sample .env
- name: Run CIuses: devcontainers/[email protected]with:
runCmd: echo "Hello World!"
The workflow successfully builds the devcontainer, and I see it start up:
I figured out what was going on—a service I'd defined in the dev container's docker-compose causes CI to hang. I removed it with a workaround and can now build using the Action.
Hello, I'm trying to move a GitHub Actions CI workflow to use a pre-existing devcontainer configuration for a Ruby on Rails application. The configuration works locally in VS Code, but I'm having trouble getting it to run as an action. I have a feeling I'm missing something simple.
Following the "simplest example" code from the Getting Started docs:
The workflow successfully builds the devcontainer, and I see it start up:
But it hangs at that point, and never runs what I've set in
runCmd
.Any guidance is appreciated, thanks!
The text was updated successfully, but these errors were encountered: