diff --git a/gitea.sh b/gitea.sh index 4055828..ffac6e6 100644 --- a/gitea.sh +++ b/gitea.sh @@ -1,9 +1,9 @@ pre() { - 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" + 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" docker cp gitea_gitea_1:/tmp/gitea-dump.zip /tmp/gitea-dump.zip } post() { - docker exec -t -u git gitea_gitea_1 bash -c "rm /tmp/gitea-dump.zip" + docker exec -t -u git gitea-gitea-1 bash -c "rm /tmp/gitea-dump.zip" rm /tmp/gitea-dump.zip }