2022-03-29 22:51:37 +02:00
|
|
|
pre() {
|
2022-07-30 13:52:06 +02:00
|
|
|
docker exec -t -u git gitea-gitea-1 bash -c "/app/gitea/gitea dump -c /data/gitea/conf/app.ini --file /tmp/gitea-dump.zip"
|
2022-03-29 22:51:37 +02:00
|
|
|
docker cp gitea_gitea_1:/tmp/gitea-dump.zip /tmp/gitea-dump.zip
|
|
|
|
}
|
|
|
|
|
|
|
|
post() {
|
2022-07-30 13:52:06 +02:00
|
|
|
docker exec -t -u git gitea-gitea-1 bash -c "rm /tmp/gitea-dump.zip"
|
2022-03-29 22:51:37 +02:00
|
|
|
rm /tmp/gitea-dump.zip
|
|
|
|
}
|