This GitHub Action sets up a MariaDB database in Docker container.
MariaDB GitHub Action based on the Docker container and is limited by Github Actions, which contains only Linux now. Therefore it does not work in Mac OS and Windows environment.
Below you will find some of the possible uses of this application.
This preset will create the TEST
database on the MariaDB engine version 10.6.15
with the root password 123123
.
steps:
- uses: YakkaDev/[email protected]
with:
version: '10.6.15'
database: 'TEST'
root pass: '123123'
This preset will create the TEST
database with user username
and password userpass
on the MariaDB engine version 10.6.15
and characters set utf8mb4
with the random
root password.
steps:
- uses: YakkaDev/[email protected]
with:
version: '10.6.15'
character: 'utf8mb4'
database: 'TEST'
user: 'username'
password: 'userpass'
See Docker Hub for available MariaDB versions.
Below you will find all possible options of this application, as well as their description and default values.
Option | Description | Requried | Default |
---|---|---|---|
host port | Incoming port | No | 3306 |
local port | Сontainer port | No | 3306 |
character | The character set of MariaDB server | No | utf8mb4 |
collation | The character collation of MariaDB server | No | utf8mb4_general_ci |
version | Version of MariaDB server | No | latest |
root pass | Root user password | No | RANDOM |
database | MariaDB default database | Yes | - |
user | User for created database | No | root |
password | MariaDB user password | Yes | - |
This project is released under the MIT License.
The application uses a Docker container based on MariaDB images.