Sign inSign up

shinhwagk/mysql

By shinhwagk

•Updated 5 months ago

a mysql image for use with github actions services.

Image
Integration & delivery
Databases & storage
0

712

shinhwagk/mysql repository overview

⁠github action
name: MySQL Service Example

on:
  push:
    branches:
      - main

jobs:
  test:
    runs-on: ubuntu-latest
    services:
      mysql8036_1:
        image: shinhwagk/mysql:8.0.36
        env:
          MYSQL_ROOT_PASSWORD: root_password
          MYSQL_MYSQLD_ARGS: "--server-id=1000 --log-bin=mysql-bin --gtid-mode=on --enforce-gtid-consistency=on"
        ports:
          - 33061:3306
        options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
⁠dockerfile
FROM mysql:8.0.36

ENTRYPOINT ["sh", "-c", "docker-entrypoint.sh mysqld $MYSQL_MYSQLD_ARGS"]

Tag summary

Content type

Image

Digest

sha256:6de1e5a59…

Size

166.7 MB

Last updated

5 months ago

docker pull shinhwagk/mysql:8.0.36