2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Fixed MySQL port mapping in CI

no issue

- turns out the exposed port is randomly assigned, but this worked for
  us so far
- this commit enforces the use of 3306 for the MySQL port
This commit is contained in:
Daniel Lockyer 2020-03-16 08:40:59 +00:00
parent 784ae3ddf1
commit 204efe0158

View file

@ -28,7 +28,7 @@ jobs:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: ghost_testing
ports:
- 3306
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
name: Node ${{ matrix.node }} - ${{ matrix.env.DB }}
steps: