forgejo : 1.21.4

This commit is contained in:
Gitouche 2024-01-17 19:41:06 +01:00
parent 3f33a5e1f7
commit a8af3d05f0
2 changed files with 1 additions and 2 deletions

View file

@ -12,7 +12,6 @@ buildfolder=/tmp/gitea-$$
if ! podman image exists ${gitea_image}:${gitea_version}; then if ! podman image exists ${gitea_image}:${gitea_version}; then
mkdir ${buildfolder} && mkdir ${buildfolder} &&
if git clone -b v${gitea_version} --depth=1 https://codeberg.org/forgejo/forgejo/ ${buildfolder} ; then 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 \ TMPDIR=${HOME} podman image build \
--label org.opencontainers.image.version="${gitea_version}" \ --label org.opencontainers.image.version="${gitea_version}" \
-t ${gitea_image}:${gitea_version} \ -t ${gitea_image}:${gitea_version} \

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## vars ## vars
gitea_image="git.garbaye.fr/garbaye/forgejo" gitea_image="git.garbaye.fr/garbaye/forgejo"
gitea_version='1.20.6-1' gitea_version='1.21.4-1'
postgres_image="docker.io/library/postgres" postgres_image="docker.io/library/postgres"
postgres_version='14' postgres_version='14'
## default vars : override with ENV var ## default vars : override with ENV var