File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 33
33
ADDRESS_SANITIZER : ${{ contains(github.event.pull_request.labels.*.name, 'address-sanitizer') }}
34
34
35
35
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
-
48
36
build-collector-image :
49
37
name : Local collector image ${{ matrix.arch }}
50
- needs : prepare-build-collector
51
38
strategy :
52
39
matrix :
53
40
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' }}
56
44
57
45
env :
58
46
PLATFORM : linux/${{ matrix.arch }}
63
51
with :
64
52
submodules : true
65
53
66
- - name : Set up QEMU
67
- uses : docker/setup-qemu-action@v3
68
- with :
69
- image : tonistiigi/binfmt:qemu-v8.1.5
70
-
71
54
- name : Set up Docker Buildx
72
55
uses : docker/setup-buildx-action@v3
73
56
You can’t perform that action at this time.
0 commit comments