We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f596e8 commit 38c8f99Copy full SHA for 38c8f99
.github/workflows/dockerimage.yml
@@ -20,3 +20,10 @@ jobs:
20
21
- name: Run nginx -V
22
run: docker run -t ${{ github.repository }} nginx -V
23
+
24
+ - name: Serve a static asset
25
+ 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 }}
27
+ sleep 2; docker ps
28
+ curl -v --compressed 0.0.0.0:8888
29
+ docker logs nginx
0 commit comments