Skip to content

Commit d507ebc

Browse files
committed
Mouting volumn
1 parent 097872b commit d507ebc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ jobs:
2323
ORACLE_PASSWORD: oracle
2424
ports:
2525
- 1521:1521
26-
options: -v ${{ github.workspace }}/init_scripts:/container-entrypoint-initdb.d --health-cmd healthcheck.sh --health-interval 10s --health-timeout 5s --health-retries 10
26+
volumes:
27+
- ${{ github.workspace }}/init_scripts:/container-entrypoint-initdb.d
28+
options: >-
29+
--health-cmd healthcheck.sh
30+
--health-interval 10s
31+
--health-timeout 5s
32+
--health-retries 10
2733
2834
steps:
2935
- uses: actions/checkout@v2
3036

31-
- name: Verify MySQL connection from host
37+
- name: Oracle
3238
run: docker logs "${{ job.services.oracle.id }}"
3339

3440
- name: Set up JDK 8

0 commit comments

Comments
 (0)