Skip to content

test: Reorganize testing structure #117

test: Reorganize testing structure

test: Reorganize testing structure #117

name: Profile Controller Multi-Arch Build Test
on:
pull_request:
paths:
- components/profile-controller/**
- releasing/version/VERSION
- .github/workflows/profile_controller_multi_arch_test.yaml
branches:
- main
- v*-branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }}
cancel-in-progress: true
env:
IMG: ghcr.io/kubeflow/dashboard/profile-controller
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build multi-arch Image
run: |
cd components/profile-controller
ARCH=linux/amd64 make docker-build-multi-arch
ARCH=linux/ppc64le make docker-build-multi-arch
ARCH=linux/arm64/v8 make docker-build-multi-arch