From 7da5d789d6e54cc368111856f030878cdb419f93 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Mon, 17 Apr 2023 11:02:02 +0200 Subject: [PATCH] Forgejo 1.19 : build from source (AppVer bugged) --- podman-gitea/ci_build-images.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-gitea/ci_build-images.sh b/podman-gitea/ci_build-images.sh index 0f70873..2921485 100755 --- a/podman-gitea/ci_build-images.sh +++ b/podman-gitea/ci_build-images.sh @@ -11,7 +11,7 @@ buildfolder=/tmp/gitea-$$ if ! podman image exists ${gitea_image}:${gitea_version}; then mkdir ${buildfolder} && - curl -sSfL -- "https://codeberg.org/forgejo/forgejo/archive/v${gitea_version}.tar.gz" | tar xz --strip-components=1 -C ${buildfolder}/ && { + git clone -b v${gitea_version} --depth=1 https://codeberg.org/forgejo/forgejo/ ${buildfolder} && { TMPDIR=${HOME} podman image build \ --label org.opencontainers.image.version="${gitea_version}" \ -t ${gitea_image}:${gitea_version} -f ${buildfolder}/Dockerfile ${buildfolder}