]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
workflows/dev_container: Use native arm64 runners
authorZack Cerza <zack@cerza.org>
Tue, 9 Sep 2025 18:17:19 +0000 (12:17 -0600)
committerZack Cerza <zack@cerza.org>
Tue, 9 Sep 2025 18:27:24 +0000 (12:27 -0600)
Signed-off-by: Zack Cerza <zack@cerza.org>
.github/workflows/dev_container.yml

index 850c69752648a1dc0649d6164d56649834cd55ff..8540a2e5bedf4fc0b4bdb7d1dba9ce879dd8c101 100644 (file)
@@ -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