Turn ports into arrays and restrict context to port mappings

This commit is contained in:
Jacob Wallraff
2022-12-15 15:38:16 -08:00
parent 77674c74e1
commit 3340bd8538
2 changed files with 13 additions and 5 deletions
@@ -269,8 +269,10 @@ jobs:
services:
nginx:
image: node:14.16
volumes:
- my_docker_volume:/volume_mount
ports:
- 80
- 80:8080
steps:
- run: echo \${{ job.services.nginx }}
- run: echo \${{ job.services.nginx.id }}