Skip to content

Commit ad7356c

Browse files
committed
ci: use an available oracle image
Signed-off-by: Arthur Schiwon <[email protected]>
1 parent 9e7cbb4 commit ad7356c

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/phpunit-oci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ env:
4040

4141
jobs:
4242
phpunit-oci:
43-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-22.04
4444

4545
strategy:
4646
matrix:
@@ -49,10 +49,24 @@ jobs:
4949

5050
services:
5151
oracle:
52-
image: deepdiver/docker-oracle-xe-11g # 'wnameless/oracle-xe-11g-r2'
52+
image: ghcr.io/gvenzl/oracle-xe:11
53+
54+
# Provide passwords and other environment variables to container
55+
env:
56+
ORACLE_RANDOM_PASSWORD: true
57+
APP_USER: autotest
58+
APP_USER_PASSWORD: owncloud
59+
5360
ports:
5461
- 1521:1521/tcp
5562

63+
# Provide healthcheck script options for startup
64+
options: >-
65+
--health-cmd healthcheck.sh
66+
--health-interval 10s
67+
--health-timeout 5s
68+
--health-retries 10
69+
5670
steps:
5771
- name: Set app env
5872
run: |

0 commit comments

Comments
 (0)