Skip to content

Commit bd848d1

Browse files
authored
bug(PLAT-2937) - Add redis service to publish workflow (#45)
1 parent 2515e89 commit bd848d1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,20 @@ jobs:
1919
permissions:
2020
id-token: write # Required for publishing using OIDC authentication
2121
contents: write
22+
23+
services:
24+
redis:
25+
image: redis
26+
# Set health checks to wait until redis has started
27+
options: >-
28+
--health-cmd "redis-cli ping"
29+
--health-interval 10s
30+
--health-timeout 5s
31+
--health-retries 5
32+
ports:
33+
# Maps port 6379 on service container to the host
34+
- 6379:6379
35+
2236
steps:
2337
- uses: actions/checkout@v4
2438

0 commit comments

Comments
 (0)