Skip to content

Commit c27730a

Browse files
authored
docker run fixed
1 parent 38c8f99 commit c27730a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 2 deletions
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 --detach --rm -p 0.0.0.0:8888:80 -v "./tests":/static:ro -v "./tests/static.conf":/etc/nginx/conf.d/static.conf:ro --tag nginx ${{ github.repository }}
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 }}
2727
sleep 2; docker ps
2828
curl -v --compressed 0.0.0.0:8888
29-
docker logs nginx
29+
docker logs test_nginx

0 commit comments

Comments
 (0)