forgejo : 1.20.5 : fix image build?

This commit is contained in:
Gitouche 2023-10-15 14:35:42 +02:00
parent 6bbb3751f5
commit 0091c3482a

View file

@ -12,6 +12,7 @@ buildfolder=/tmp/gitea-$$
if ! podman image exists ${gitea_image}:${gitea_version}; then
mkdir ${buildfolder} &&
if git clone -b v${gitea_version} --depth=1 https://codeberg.org/forgejo/forgejo/ ${buildfolder} ; then
sed_in_place "tonistiigi/xx" "docker.io/tonistiigi/xx" ${buildfolder}/Dockerfile
TMPDIR=${HOME} podman image build \
--label org.opencontainers.image.version="${gitea_version}" \
-t ${gitea_image}:${gitea_version} \