2020-11-02 16:44:11 +00:00
|
|
|
---
|
|
|
|
- project:
|
|
|
|
name: registry-update-base-images
|
|
|
|
jobs:
|
|
|
|
- registry-update-base-images
|
|
|
|
|
|
|
|
- job:
|
|
|
|
name: registry-update-base-images
|
|
|
|
description: |
|
2021-02-11 10:35:31 +00:00
|
|
|
Update base docker images in our private registry.osmocom.org with those from docker.io
|
2020-11-02 16:44:11 +00:00
|
|
|
Related:<br>
|
|
|
|
<ul>
|
2021-02-11 10:35:31 +00:00
|
|
|
<li> <a href="https://osmocom.org/issues/4839">OS#4839</a>
|
2020-11-02 16:44:11 +00:00
|
|
|
</ul>
|
2022-11-30 13:50:49 +00:00
|
|
|
node: osmocom-master
|
2020-11-02 16:44:11 +00:00
|
|
|
builders:
|
|
|
|
- shell: |
|
|
|
|
REGISTRY="registry.osmocom.org"
|
2021-12-16 09:35:06 +00:00
|
|
|
IMAGES="
|
|
|
|
debian:buster
|
2021-12-16 09:37:18 +00:00
|
|
|
debian:bullseye
|
2021-12-16 09:35:06 +00:00
|
|
|
debian:sid
|
|
|
|
|
|
|
|
centos:centos7
|
2022-02-03 08:30:21 +00:00
|
|
|
almalinux:8
|
2021-12-16 09:35:06 +00:00
|
|
|
"
|
2020-11-02 16:44:11 +00:00
|
|
|
for i in $IMAGES; do
|
|
|
|
src=$i
|
|
|
|
dst=${REGISTRY}/$i
|
|
|
|
echo
|
|
|
|
echo ======= $src
|
|
|
|
docker pull $src
|
|
|
|
docker tag $src $dst
|
|
|
|
docker push $dst
|
|
|
|
done
|
|
|
|
triggers:
|
|
|
|
- timed: "@daily"
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- email:
|
|
|
|
notify-every-unstable-build: true
|
|
|
|
recipients: 'jenkins-notifications@lists.osmocom.org'
|
|
|
|
|
|
|
|
# vim: expandtab tabstop=2 shiftwidth=2
|