diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index 4b23615a89..3f12d5869e 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -29,7 +29,7 @@ FROM docker.io/library/golang:1.20-bullseye AS build-env LABEL maintainer="infra-root@openstack.org" -ARG GITEA_VERSION="v1.19.3" +ARG GITEA_VERSION="v1.19.4" ENV TAGS "bindata $TAGS" #Build deps diff --git a/docker/gitea/custom/templates/repo/header.tmpl b/docker/gitea/custom/templates/repo/header.tmpl index b742cd6cd7..2de6677903 100644 --- a/docker/gitea/custom/templates/repo/header.tmpl +++ b/docker/gitea/custom/templates/repo/header.tmpl @@ -39,7 +39,7 @@ {{end}} - {{if $.IsPullMirror}} + {{if and $.IsPullMirror $.Mirror}} {{$address := MirrorRemoteAddress $.Context . $.Mirror.GetRemoteName false}}