Skip to content

Commit 3f2cba0

Browse files
authored
Update main.yml
1 parent 1ae788a commit 3f2cba0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,9 @@ jobs:
5959

6060
# Label of the container job
6161
container-job:
62-
# Containers must run in Linux based operating systems
6362
runs-on: ubuntu-latest
64-
# Docker Hub image that `container-job` executes in
65-
container: maven:3.6.3-openjdk-8-slim
6663

67-
# Service containers to run with `container-job`
64+
# Service containers to run with `runner-job`
6865
services:
6966
# Label used to access the service container
7067
redis:
@@ -76,6 +73,9 @@ jobs:
7673
--health-interval 10s
7774
--health-timeout 5s
7875
--health-retries 5
76+
ports:
77+
# Maps port 6379 on service container to the host
78+
- 6379:6379
7979
steps:
8080
- uses: actions/checkout@v2
8181
- name: Set up JDK 14

0 commit comments

Comments
 (0)