Rename gitea container in cp command

This commit is contained in:
JuliusFreudenberger 2022-07-30 13:53:17 +02:00
parent e129bddf2a
commit 1a249d0b57

View file

@ -1,6 +1,6 @@
pre() { 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 docker cp gitea-gitea-1:/tmp/gitea-dump.zip /tmp/gitea-dump.zip
} }
post() { post() {