From 5032a1e0c2fb10ba6262f2078b809c2ab90fea9a Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 12 Aug 2022 20:09:34 +0200 Subject: [PATCH] peerjs : use gitea as container repo (8) --- podman-peerjs/.gitlab-ci.yml | 2 +- podman-peerjs/{zz_build-images.sh => ci_build-images.sh} | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename podman-peerjs/{zz_build-images.sh => ci_build-images.sh} (94%) diff --git a/podman-peerjs/.gitlab-ci.yml b/podman-peerjs/.gitlab-ci.yml index d09b475..226f4a2 100644 --- a/podman-peerjs/.gitlab-ci.yml +++ b/podman-peerjs/.gitlab-ci.yml @@ -6,7 +6,7 @@ peerjs: stage: test script: - cd podman-peerjs - - ./zz_build-images.sh + - ./ci_build-images.sh - GARBAYE_PEERJS_ENV_LISTENPORT=18081 ./10_install.sh - ./20_enable.sh - ./30_start.sh && sleep 10 diff --git a/podman-peerjs/zz_build-images.sh b/podman-peerjs/ci_build-images.sh similarity index 94% rename from podman-peerjs/zz_build-images.sh rename to podman-peerjs/ci_build-images.sh index c2681cb..3e96d07 100755 --- a/podman-peerjs/zz_build-images.sh +++ b/podman-peerjs/ci_build-images.sh @@ -16,6 +16,8 @@ if ! podman image exists ${upstream_images}:${version}; then podman build -t ${upstream_images}:${version} ${buildfolder}/ && podman rmi docker.io/library/node:alpine && rm -rf ${buildfolder} +else + echo "Image ${upstream_images}:${version} already built" fi && if ! skopeo inspect --format "Image ${upstream_images}:${version} found on remote container repository." docker://${upstream_images}:${version}; then