From e41a38f8fef718688bde8b63cf89b141bbd1a0d1 Mon Sep 17 00:00:00 2001 From: Artur Stolear Date: Fri, 29 Dec 2023 05:51:51 +0100 Subject: [PATCH] update the workflows to test the artifacts and docker images on arm64 runners --- .github/workflows/_docker.yml | 3 +++ .github/workflows/_docker_manifests.yml | 3 +++ .github/workflows/ci.yml | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_docker.yml b/.github/workflows/_docker.yml index 2178675f9b..344512ee81 100644 --- a/.github/workflows/_docker.yml +++ b/.github/workflows/_docker.yml @@ -40,14 +40,17 @@ jobs: - name: Set up Docker uses: crazy-max/ghaction-setup-docker@v3 + if: inputs.runner != 'ubuntu-latest-arm64' with: daemon-config: '{ "features": { "containerd-snapshotter": true } }' - name: Setup QEMU uses: docker/setup-qemu-action@v3 + if: inputs.runner != 'ubuntu-latest-arm64' - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 + if: inputs.runner != 'ubuntu-latest-arm64' with: version: 'latest' driver-opts: 'image=moby/buildkit:buildx-stable-1' diff --git a/.github/workflows/_docker_manifests.yml b/.github/workflows/_docker_manifests.yml index 130bfc1793..6049af3534 100644 --- a/.github/workflows/_docker_manifests.yml +++ b/.github/workflows/_docker_manifests.yml @@ -27,14 +27,17 @@ jobs: - name: Set up Docker uses: crazy-max/ghaction-setup-docker@v3 + if: inputs.runner != 'ubuntu-latest-arm64' with: daemon-config: '{ "features": { "containerd-snapshotter": true } }' - name: Setup QEMU uses: docker/setup-qemu-action@v3 + if: inputs.runner != 'ubuntu-latest-arm64' - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 + if: inputs.runner != 'ubuntu-latest-arm64' with: version: 'latest' driver-opts: 'image=moby/buildkit:buildx-stable-1' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a85688e8db..e72c287daf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: - arch: amd64 runner: ubuntu-latest - arch: arm64 - runner: ubuntu-latest + runner: ubuntu-latest-arm64 uses: ./.github/workflows/_artifacts_linux.yml with: runner: ${{ matrix.runner }} @@ -84,7 +84,7 @@ jobs: - arch: amd64 runner: ubuntu-latest - arch: arm64 - runner: ubuntu-latest + runner: ubuntu-latest-arm64 uses: ./.github/workflows/_docker.yml with: