4
.github/workflows/redis-service.yml
vendored
4
.github/workflows/redis-service.yml
vendored
@@ -20,6 +20,7 @@ jobs:
|
|||||||
image: redis
|
image: redis
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
options: --entrypoint redis-server
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@@ -41,6 +42,7 @@ jobs:
|
|||||||
image: redis
|
image: redis
|
||||||
ports:
|
ports:
|
||||||
- 6379/tcp
|
- 6379/tcp
|
||||||
|
options: --entrypoint redis-server
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
@@ -52,4 +54,4 @@ jobs:
|
|||||||
working-directory: ./redis
|
working-directory: ./redis
|
||||||
env:
|
env:
|
||||||
REDIS_HOST: localhost
|
REDIS_HOST: localhost
|
||||||
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
|
REDIS_PORT: ${{ job.services.redis.ports[6379] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user