Skip to content

Commit

Permalink
Pass docker config to both preflight checks
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismuellner committed Aug 8, 2022
1 parent d3d0c09 commit 3efea60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hack/build/ci/preflight.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ download_preflight() {
}

check_image() {
./"${PREFLIGHT_EXECUTABLE}" check container "${IMAGE_TAG}" 1> "${PREFLIGHT_REPORT_NAME}" 2> "${PREFLIGHT_LOG}"
./"${PREFLIGHT_EXECUTABLE}" check container "${IMAGE_TAG}" \
--docker-config="${HOME}/.docker/config.json" \
1> "${PREFLIGHT_REPORT_NAME}" 2> "${PREFLIGHT_LOG}"
echo "${PREFLIGHT_EXECUTABLE} returned ${?}"
cat "${PREFLIGHT_LOG}"
grep "Preflight result: PASSED" "${PREFLIGHT_LOG}" || exit 1
Expand Down

0 comments on commit 3efea60

Please sign in to comment.