Skip to content

Commit

Permalink
Keep bashbrew fetch for oci-import fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
yosifkit authored and martin-g committed Apr 3, 2024
1 parent a15ea0e commit 306507e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions diff-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ _metadata-files() {
| xargs -r bashbrew cat --format "$templateLastTags" 2>>temp/_bashbrew.err \
> temp/_bashbrew-list-build-order || :

# oci images can't be fetched with ArchDockerFroms
# todo: use each first arch instead of current arch
bashbrew fetch --arch-filter "$@"
script="$(bashbrew cat --format "$template" "$@")"
mkdir tar
( eval "$script" | tar -xiC tar )
Expand Down

0 comments on commit 306507e

Please sign in to comment.