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