Rename gitea container in cp command
This commit is contained in:
parent
e129bddf2a
commit
1a249d0b57
1 changed files with 1 additions and 1 deletions
2
gitea.sh
2
gitea.sh
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue