dontpull : gitea

This commit is contained in:
Gitouche 2022-11-13 14:06:42 +01:00
parent 691c74269d
commit 2498c1ea5f
1 changed files with 3 additions and 2 deletions

View File

@ -50,8 +50,9 @@ export weblisten_port
export sshlisten_if
export sshlisten_port
podman image pull ${gitea_image}:${gitea_version} &&
podman image exists ${gitea_image}:${gitea_version} &&
if ! podman image exists ${gitea_image}:${gitea_version}; then
podman image pull ${gitea_image}:${gitea_version} || exit 1
fi
podman pull ${postgres_image}:${postgres_version} &&
# force refresh of app.ini
podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini