Skip to content

Commit

Permalink
Adding changes to build nb-controller on pull_request (#7054)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmukati-2604 authored Mar 23, 2023
1 parent 86e0cdb commit 9426201
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/nb_controller_intergration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup QEMU
uses: docker/setup-qemu-action@v2

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build Notebook Controller Image
run: |
cd components/notebook-controller
make docker-build
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/amd64 make docker-build-multi-arch
- name: Install KinD
run: ./components/testing/gh-actions/install_kind.sh
Expand Down
2 changes: 1 addition & 1 deletion components/notebook-controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ docker-push: ## Push docker image with the manager.

.PHONY: docker-build-multi-arch
docker-build-multi-arch: ## Build multi-arch docker images with docker buildx
cd .. && docker buildx build --platform ${ARCH} --tag ${IMG}:${TAG} -f ./notebook-controller/Dockerfile .
cd .. && docker buildx build --load --platform ${ARCH} --tag ${IMG}:${TAG} -f ./notebook-controller/Dockerfile .


.PHONY: docker-build-push-multi-arch
Expand Down

0 comments on commit 9426201

Please sign in to comment.