Skip to content

Commit

Permalink
Merge pull request #18 from mhkarimi1383/master
Browse files Browse the repository at this point in the history
🐛 fix: Change username of docker image name and exclude markdown from EOL fixer
  • Loading branch information
anyongjin authored Aug 1, 2024
2 parents 3d607cf + a2d40a0 commit 6e261d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ repos:
rev: v4.6.0
hooks:
- id: trailing-whitespace
exclude_types:
- markdown
- mdx
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
hooks:
- id: ruff
args: [ --fix ]
args: [--fix]
- id: ruff-format
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
hooks:
- id: black
- id: black
2 changes: 1 addition & 1 deletion README.CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
3. 安装依赖:`pip install requirements.txt`

## docker安装
使用镜像:`ghcr.io/mhkarimi1383/mysql_idb:mysql-8.4`(可根据需要更改mysql版本)
使用镜像:`ghcr.io/anyongjin/mysql_idb:mysql-8.4`(可根据需要更改mysql版本)
也可从`Dockerfile`构建镜像并使用

## k8s中使用
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Other steps are like previous section

## With Docker

Bring up a container with both new and old data available (with connection access to new db) with image: `ghcr.io/mhkarimi1383/mysql_idb:mysql-8.4` (change mysql version if needed)
Bring up a container with both new and old data available (with connection access to new db) with image: `ghcr.io/anyongjin/mysql_idb:mysql-8.4` (change mysql version if needed)

Other steps are like previous section

Expand Down
2 changes: 1 addition & 1 deletion k8s-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
containers:
# Change image if needed
- image: ghcr.io/mhkarimi1383/mysql_idb:mysql-8.4
- image: ghcr.io/anyongjin/mysql_idb:mysql-8.4
imagePullPolicy: IfNotPresent
name: mysql-idb
resources:
Expand Down

0 comments on commit 6e261d5

Please sign in to comment.