Skip to content

Commit c998d7b

Browse files
authored
Detach it, D'oh!
docker run --detach is a better idea
1 parent c27730a commit c998d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Serve a static asset
2525
run: |
26-
docker run --rm -p 0.0.0.0:8888:80 -v "$PWD/tests":/static:ro -v "$PWD/tests/static.conf":/etc/nginx/conf.d/static.conf:ro --name test_nginx -t ${{ github.repository }}
26+
docker run --detach --rm -p 0.0.0.0:8888:80 -v "$PWD/tests":/static:ro -v "$PWD/tests/static.conf":/etc/nginx/conf.d/static.conf:ro --name test_nginx -t ${{ github.repository }}
2727
sleep 2; docker ps
2828
curl -v --compressed 0.0.0.0:8888
2929
docker logs test_nginx

0 commit comments

Comments
 (0)