From: Zack Cerza Date: Tue, 9 Sep 2025 18:17:19 +0000 (-0600) Subject: workflows/dev_container: Use native arm64 runners X-Git-Tag: 1.2.2~1^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a3afbe57d7ac061f04e5da97f4031bfd67cb5ba1;p=teuthology.git workflows/dev_container: Use native arm64 runners Signed-off-by: Zack Cerza --- diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index 850c69752..8540a2e5b 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -3,7 +3,7 @@ name: dev_container on: push: branches: - - 'main' + - "main" pull_request: branches: - main @@ -11,14 +11,17 @@ on: jobs: docker: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + include: + - os: ubuntu-24.04 + python: "3.12" + - os: ubuntu-24.04-arm + python: "3.12" steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up QEMU - uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 - name: Login to Quay.io if: github.event_name == 'push' && github.ref_name == 'main' uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 @@ -34,7 +37,6 @@ jobs: with: context: . file: containers/teuthology-dev/Dockerfile - platforms: linux/amd64,linux/arm64 push: ${{ github.event_name == 'push' && github.ref_name == 'main' }} tags: ${{ env.QUAY_URI }}:${{ env.QUAY_TAG }} outputs: type=image,name=target