Skip to content

Commit

Permalink
Specify architecture to pull in the sync script.
Browse files Browse the repository at this point in the history
  • Loading branch information
thresheek committed Mar 8, 2024
1 parent 1f22761 commit e161146
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion sync-awsecr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,16 @@ echo "export DOCKER_CLI_EXPERIMENTAL=enabled"
echo
echo "# pulling stuff"
for arch in ${architectures[@]}; do
case $arch in
arm64v8)
parch="aarch64"
;;
*)
parch=$arch
;;
esac
for tag in ${pulllist[@]}; do
echo "docker pull $arch/$tag";
echo "docker pull --platform linux/$parch $arch/$tag";
done
done

Expand Down

0 comments on commit e161146

Please sign in to comment.