Gitea image in gitea container repo first try??
This commit is contained in:
parent
d68242a5e3
commit
090c577020
|
@ -9,6 +9,7 @@ gitea:
|
|||
stage: test
|
||||
script:
|
||||
- cd podman-gitea
|
||||
- ./ci_build-images.sh
|
||||
- GARBAYE_GITEA_POSTGRES_PASSWORD=kejfczEAKjzkejklc GARBAYE_GITEA_ENV_WEBLISTENPORT=18088 GARBAYE_GITEA_ENV_SSHLISTENPORT=12222 ./05_freshinstall.sh
|
||||
- ./20_enable.sh
|
||||
- ./30_start.sh && sleep 10
|
||||
|
|
|
@ -50,7 +50,7 @@ export weblisten_port
|
|||
export sshlisten_if
|
||||
export sshlisten_port
|
||||
|
||||
source ${ABSDIR}/zz_build-images.sh
|
||||
podman image pull ${gitea_image}:${gitea_version} &&
|
||||
podman image exists ${gitea_image}:${gitea_version} &&
|
||||
podman pull ${postgres_image}:${postgres_version} &&
|
||||
# force refresh of app.ini
|
||||
|
|
|
@ -21,4 +21,8 @@ if ! podman image exists ${gitea_image}:${gitea_version}; then
|
|||
podman image prune -a -f --filter intermediate=true
|
||||
podman image rm -f $(podman images -a -q -- docker.io/library/golang)
|
||||
podman image rm -f $(podman images -a -q -- docker.io/library/alpine)
|
||||
else
|
||||
echo "Image ${gitea_image}:${gitea_version} already built"
|
||||
fi
|
||||
|
||||
oci_push_to_registry ${gitea_image}:${gitea_version}
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
## vars
|
||||
gitea_image="localhost/gitea/gitea"
|
||||
gitea_image="git.garbaye.fr/garbaye/gitea"
|
||||
gitea_version='1.17.0'
|
||||
postgres_image="docker.io/library/postgres"
|
||||
postgres_version='14'
|
||||
|
|
Loading…
Reference in a new issue