Rename gitea container to reflect name change
This commit is contained in:
parent
a8c24317ed
commit
e129bddf2a
1 changed files with 2 additions and 2 deletions
4
gitea.sh
4
gitea.sh
|
@ -1,9 +1,9 @@
|
||||||
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() {
|
||||||
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
|
rm /tmp/gitea-dump.zip
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue