Skip to content
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
13 changes: 1 addition & 12 deletions .ci/build-controller-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ fi

main() {
# Move to the project directory
pushd "${project_root}"
trap on_exit EXIT
cd "${project_root}"

if [ -n "${BASH_DEBUG:-}" ]; then
set -x
Expand Down Expand Up @@ -72,16 +71,6 @@ main() {
cat "${CONTAINER_FULL_TAG}" && echo ""
}

on_exit() {
ret=$?
info "-------cleanup--------"
if [ -z "${SKIP_CLEANUP:-}" ]; then
make docker-clean IMG="${IMAGE_REGISTRY_NAME_TAG}" || true
fi
popd
exit ${ret}
}

configure_go() {
which go
go version
Expand Down
Loading