Skip to content

Commit

Permalink
[FIX] Fixing other architectures CI failure due to change of API
Browse files Browse the repository at this point in the history
  • Loading branch information
LAGNEAU Romain committed Oct 31, 2024
1 parent a65eebc commit 66c5ed3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/other-arch-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ jobs:
# distro: bullseye
# target: ARMV6
- arch: armv7
distro: ubuntu_latest
distro: ubuntu:latest
target: ARMV7
endianness: (Little Endian)
- arch: aarch64
distro: ubuntu_latest
distro: ubuntu:latest
endianness: (Little Endian)
- arch: riscv64
distro: ubuntu_latest
distro: ubuntu:latest
target: RISC-V
endianness: (Little Endian)
- arch: ppc64le
distro: ubuntu_latest
distro: ubuntu:latest
target: POWER8
endianness: (Little Endian)
- arch: s390x
distro: ubuntu_latest
distro: ubuntu:latest
target: Z13
endianness: (Big Endian)

Expand All @@ -54,10 +54,14 @@ jobs:

- name: Run on arch
uses: uraimo/[email protected]
# See issue https://github.com/uraimo/run-on-arch-action/issues/155 for the explanation on the weird use of the arch and distro
# that resulted in error
# ERROR: failed to solve: ${arch}/ubuntu:latest: failed to resolve source metadata for docker.io/${arch}/ubuntu:latest: no match for platform in manifest: not found
with:
githubToken: ${{ github.token }}
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
arch: none
distro: none
base_image: "--platform=linux/${{ matrix.arch }} ${{ matrix.distro }}"

run: |
lscpu
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/other-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
# distro: ubuntu20.04
# target: ARMV7
- arch: aarch64
distro: ubuntu_latest
distro: ubuntu:latest
target: ARMV8
endianness: (Little Endian)
# - arch: ppc64le
# distro: ubuntu20.04
# target: POWER8
- arch: s390x
distro: ubuntu_latest
distro: ubuntu:latest
target: Z13
endianness: (Big Endian)

Expand All @@ -51,8 +51,9 @@ jobs:
uses: uraimo/[email protected]
with:
githubToken: ${{ github.token }}
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
arch: none
distro: none
base_image: "--platform=linux/${{ matrix.arch }} ${{ matrix.distro }}"

run: |
lscpu
Expand Down

0 comments on commit 66c5ed3

Please sign in to comment.