From: Guillaume Abrioux Date: Tue, 25 Jun 2024 11:30:05 +0000 (+0200) Subject: sync-images: sync nginx images X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2258%2Fhead;p=ceph-build.git sync-images: sync nginx images This commit makes the job sync nginx images from docker.io to quay.io Also, two changes: - This makes sure the latest stable image of skopeo is pulled from quay.io - Use the filter 'by-semver' filter for grafana too. Signed-off-by: Guillaume Abrioux --- diff --git a/sync-images/build/build b/sync-images/build/build index a0751f668..aea6862fb 100644 --- a/sync-images/build/build +++ b/sync-images/build/build @@ -6,8 +6,10 @@ WORKDIR=$(mktemp -td tox.XXXXXXXXXX) cat << EOF > ./sync.yml docker.io: - images-by-tag-regex: - grafana/grafana: ^(9\.?|[0-9]{2,}\.?)([0-9]*\.?){1,}$ + images-by-semver: + nginx: ">= 1.26.0" + grafana/grafana: ">= 9.0.0" EOF - +# make sure we pull the last stable image +podman pull quay.io/skopeo/stable podman run --rm --security-opt label=disable -v ./sync.yml:/sync.yml:ro quay.io/skopeo/stable sync --src yaml --dest docker /sync.yml "${DEST_REGISTRY}" --dest-username "${DEST_USERNAME}" --dest-password "${DEST_PASSWORD}"