Skip to content

Commit cee45d6

Browse files
authored
ci: fix db docker image start command
1 parent ec9f3ba commit cee45d6

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/dev-db-nightly.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,17 @@ name: Nightly Dev DB Image
77

88
# Controls when the workflow will run
99
on:
10+
# Run every night
1011
schedule:
1112
- cron: '0 0 * * *'
1213

14+
# Run on db.Dockerfile changes
15+
push:
16+
branches:
17+
- main
18+
paths:
19+
- 'docker/db.Dockerfile'
20+
1321
# Allows you to run this workflow manually from the Actions tab
1422
workflow_dispatch:
1523

docker/db.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,5 @@ LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
5959
# Copy the mysql data folder from the import stage
6060
COPY --from=importStage /var/lib/mysql /var/lib/mysql
6161

62-
CMD ['--character-set-server=utf8', '--collation-server=utf8_unicode_ci', '--innodb-buffer-pool-size=1G', '--innodb-log-buffer-size=128M', '--innodb-log-file-size=256M', '--innodb-write-io-threads=8', '--innodb-flush-log-at-trx-commit=0', '--performance-schema=1']
62+
ENTRYPOINT ['docker-entrypoint.sh']
63+
CMD ['mariadbd', '--character-set-server=utf8', '--collation-server=utf8_unicode_ci', '--innodb-buffer-pool-size=1G', '--innodb-log-buffer-size=128M', '--innodb-log-file-size=256M', '--innodb-write-io-threads=8', '--innodb-flush-log-at-trx-commit=0', '--performance-schema=1']

0 commit comments

Comments
 (0)