mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2024-11-01 00:21:46 +01:00
move to docker v2
This commit is contained in:
parent
9f3f7bcdfa
commit
353430ff83
1 changed files with 5 additions and 5 deletions
10
.github/workflows/image.yml
vendored
10
.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
|
||||
|
@ -50,4 +50,4 @@ jobs:
|
|||
run: |
|
||||
docker buildx build --push \
|
||||
--tag fradelg/mysql-cron-backup:${{ steps.docker-tag.outputs.tag }} \
|
||||
--platform linux/amd64,linux/arm/v7,linux/arm64 .
|
||||
--platform linux/amd64,linux/arm/v7,linux/arm64 .
|
||||
|
|
Loading…
Reference in a new issue