github.com/nektos/act@v0.2.63/pkg/runner/testdata/services/push.yaml (about) 1 name: services 2 on: push 3 jobs: 4 services: 5 name: Reproduction of failing Services interpolation 6 runs-on: ubuntu-latest 7 services: 8 postgres: 9 image: postgres:12 10 env: 11 POSTGRES_USER: runner 12 POSTGRES_PASSWORD: mysecretdbpass 13 POSTGRES_DB: mydb 14 options: >- 15 --health-cmd pg_isready 16 --health-interval 10s 17 --health-timeout 5s 18 --health-retries 5 19 ports: 20 - 5432:5432 21 steps: 22 - name: Echo the Postgres service ID / Network / Ports 23 run: | 24 echo "id: ${{ job.services.postgres.id }}" 25 echo "network: ${{ job.services.postgres.network }}" 26 echo "ports: ${{ job.services.postgres.ports }}"