forgejo : 1.20.5 : fix image build?
This commit is contained in:
parent
6bbb3751f5
commit
0091c3482a
|
@ -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} \
|
||||
|
|
Loading…
Reference in a new issue