btrfs-progs/ci/images/images-base-update
David Sterba 466e025c74 btrfs-progs: ci: fix image updater script
There's a typo in the way how parameter is passed and is a syntax error
for docker.

Signed-off-by: David Sterba <dsterba@suse.com>
2022-10-11 09:06:13 +02:00

10 lines
167 B
Bash
Executable file

#!/bin/sh
# Update all base images from Dockefile
for dir in ci-*; do
echo "Update $dir"
cd "$dir"
docker pull `awk '/^FROM/ {print $2}' < Dockerfile`
cd ..
done