Sync docker images for arm64

sync_images_arm64
Li Yi 4 years ago
parent 28caeb743b
commit 23bc017e20

@ -0,0 +1,10 @@
language: python
arch:
- arm64
services:
- docker
script:
- ./sync_images.sh

@ -0,0 +1,20 @@
#!/bin/bash
file="images.properties"
if [ -f "$file" ]
then
echo "$file found."
while IFS='=' read -r key value
do
#echo "${key}=${value}"
docker pull ${key}
docker tag ${key} ${value}
docker push ${value}
done < "$file"
else
echo "$file not found."
fi
Loading…
Cancel
Save