mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2024-11-01 08:31:45 +01:00
move to docker v2
This commit is contained in:
parent
9f3f7bcdfa
commit
353430ff83
1 changed files with 5 additions and 5 deletions
8
.github/workflows/image.yml
vendored
8
.github/workflows/image.yml
vendored
|
@ -22,10 +22,10 @@ jobs:
|
|||
DATABASE_NAME: foo
|
||||
MARIADB_ROOT_PASSWORD: abcd
|
||||
run: |
|
||||
docker-compose up -d mariadb
|
||||
docker-compose run backup /backup.sh
|
||||
docker-compose run backup /restore.sh /backup/latest.foo.sql.gz
|
||||
docker-compose stop
|
||||
docker compose up -d mariadb
|
||||
docker compose run backup /backup.sh
|
||||
docker compose run backup /restore.sh /backup/latest.foo.sql.gz
|
||||
docker compose stop
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: test
|
||||
|
|
Loading…
Reference in a new issue