This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
run: docker build -t ${{ github.sha }} .
|
run: docker build -t ${{ github.sha }} .
|
||||||
|
|
||||||
- name: Run Docker container
|
- name: Run Docker container
|
||||||
run: docker run -d --name ${{ github.sha }} ${{ github.sha }}
|
run: docker run -d -p 3000:3000 --name ${{ github.sha }} ${{ github.sha }}
|
||||||
|
|
||||||
- name: Wait for Rails to start
|
- name: Wait for Rails to start
|
||||||
run: apt-get install --no-install-recommends -y netcat && sh -c 'until nc -z localhost 3000; do sleep 1; done'
|
run: apt-get install --no-install-recommends -y netcat && sh -c 'until nc -z localhost 3000; do sleep 1; done'
|
||||||
|
|||||||
Reference in New Issue
Block a user