Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip non-image files when loading docker images in local_e2e_tests #5465

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/kubeapps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ jobs:
source ./script/lib/liblog.sh
for path in /tmp/images/*; do
image=$(basename "$path")
if [[ "${image}" != *"-image" ]]; then
echo "::notice ::Skipping artifact ${image}, it's not a docker image"
continue
fi
info "Loading image ${image}"
kind load image-archive "${path}/${image}.tar" --name kubeapps-ci;
done
Expand Down