peerjs : use gitea as container repo (8)
This commit is contained in:
parent
2d64ead7f6
commit
5032a1e0c2
|
@ -6,7 +6,7 @@ peerjs:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- cd podman-peerjs
|
- cd podman-peerjs
|
||||||
- ./zz_build-images.sh
|
- ./ci_build-images.sh
|
||||||
- GARBAYE_PEERJS_ENV_LISTENPORT=18081 ./10_install.sh
|
- GARBAYE_PEERJS_ENV_LISTENPORT=18081 ./10_install.sh
|
||||||
- ./20_enable.sh
|
- ./20_enable.sh
|
||||||
- ./30_start.sh && sleep 10
|
- ./30_start.sh && sleep 10
|
||||||
|
|
|
@ -16,6 +16,8 @@ if ! podman image exists ${upstream_images}:${version}; then
|
||||||
podman build -t ${upstream_images}:${version} ${buildfolder}/ &&
|
podman build -t ${upstream_images}:${version} ${buildfolder}/ &&
|
||||||
podman rmi docker.io/library/node:alpine &&
|
podman rmi docker.io/library/node:alpine &&
|
||||||
rm -rf ${buildfolder}
|
rm -rf ${buildfolder}
|
||||||
|
else
|
||||||
|
echo "Image ${upstream_images}:${version} already built"
|
||||||
fi &&
|
fi &&
|
||||||
|
|
||||||
if ! skopeo inspect --format "Image ${upstream_images}:${version} found on remote container repository." docker://${upstream_images}:${version}; then
|
if ! skopeo inspect --format "Image ${upstream_images}:${version} found on remote container repository." docker://${upstream_images}:${version}; then
|
Loading…
Reference in a new issue