From 23b0b3e95dbe6fabc3ebd73326f03d4d5938e40d 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 9781d00c46..f76ab11df4 100644 --- a/.github/workflows/_docker.yml +++ b/.github/workflows/_docker.yml @@ -44,14 +44,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 abb3b5cd05..f8294ecf4a 100644 --- a/.github/workflows/_docker_manifests.yml +++ b/.github/workflows/_docker_manifests.yml @@ -32,14 +32,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 1249908800..72564d218d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,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 }} @@ -90,7 +90,7 @@ jobs: - arch: amd64 runner: ubuntu-latest - arch: arm64 - runner: ubuntu-latest + runner: ubuntu-latest-arm64 uses: ./.github/workflows/_docker.yml with: