move to docker v2

This commit is contained in:
Fco. Javier Delgado del Hoyo 2024-09-10 19:25:10 +02:00 committed by GitHub
parent 9f3f7bcdfa
commit 353430ff83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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