Skip to content

Commit

Permalink
Update the update_molecule_images.sh helper script
Browse files Browse the repository at this point in the history
Adjust the script to pull down platform specific images instead of just
the image of the running system's platform. This will ensure that all
images needed by the molecule configuration are retrieved regardless of
the system platform.
  • Loading branch information
mcdonnnj committed May 31, 2024
1 parent d59df62 commit 18a3f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update_molecule_images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ check_dependencies
# Note that we can't use --max-args in place of -n in the xargs
# command since the version of xargs distributed with macOS does not
# support it.
yq '.platforms[].image' < "$source_file" | xargs -n 1 docker pull
yq '.platforms[] | "\(.platform) \(.image)"' < "$source_file" | xargs -n 2 docker pull --platform

0 comments on commit 18a3f7b

Please sign in to comment.