mirror of
https://github.com/fradelg/docker-mysql-cron-backup.git
synced 2025-01-18 16:22:33 +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
|
DATABASE_NAME: foo
|
||||||
MARIADB_ROOT_PASSWORD: abcd
|
MARIADB_ROOT_PASSWORD: abcd
|
||||||
run: |
|
run: |
|
||||||
docker-compose up -d mariadb
|
docker compose up -d mariadb
|
||||||
docker-compose run backup /backup.sh
|
docker compose run backup /backup.sh
|
||||||
docker-compose run backup /restore.sh /backup/latest.foo.sql.gz
|
docker compose run backup /restore.sh /backup/latest.foo.sql.gz
|
||||||
docker-compose stop
|
docker compose stop
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: test
|
needs: test
|
||||||
|
@ -50,4 +50,4 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker buildx build --push \
|
docker buildx build --push \
|
||||||
--tag fradelg/mysql-cron-backup:${{ steps.docker-tag.outputs.tag }} \
|
--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