Skip to content

Commit 04dbb23

Browse files
committed
Use power image for collector builds
1 parent df82808 commit 04dbb23

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/collector.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,14 @@ env:
3333
ADDRESS_SANITIZER: ${{ contains(github.event.pull_request.labels.*.name, 'address-sanitizer') }}
3434

3535
jobs:
36-
prepare-build-collector:
37-
name: Prepare builders for collector
38-
runs-on: ubuntu-24.04
39-
outputs:
40-
local-exclude: ${{ steps.arch.outputs.local-exclude || '[]' }}
41-
42-
steps:
43-
- name: Check arches for local build
44-
if: ${{ ! contains(inputs.architectures, 'ppc64le') }}
45-
id: arch
46-
run: echo 'local-exclude=[{"arch":"ppc64le"}]' >> "$GITHUB_OUTPUT"
47-
4836
build-collector-image:
4937
name: Local collector image ${{ matrix.arch }}
50-
needs: prepare-build-collector
5138
strategy:
5239
matrix:
5340
arch: [amd64, arm64, ppc64le]
54-
exclude: ${{ fromJSON(needs.prepare-build-collector.outputs.local-exclude) }}
55-
runs-on: ${{ (matrix.arch == 'arm64' && 'ubuntu-24.04-arm') || 'ubuntu-24.04' }}
41+
runs-on: ${{ (matrix.arch == 'arm64' && 'ubuntu-24.04-arm') ||
42+
(matrix.arch == 'ppc64le' && 'ubuntu-24.04-ppc64le') ||
43+
'ubuntu-24.04' }}
5644

5745
env:
5846
PLATFORM: linux/${{ matrix.arch }}
@@ -63,11 +51,6 @@ jobs:
6351
with:
6452
submodules: true
6553

66-
- name: Set up QEMU
67-
uses: docker/setup-qemu-action@v3
68-
with:
69-
image: tonistiigi/binfmt:qemu-v8.1.5
70-
7154
- name: Set up Docker Buildx
7255
uses: docker/setup-buildx-action@v3
7356

0 commit comments

Comments
 (0)