Skip to content

Commit 239509c

Browse files
committed
fix
1 parent 9978e0c commit 239509c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/collector-builder.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
strategy:
6262
matrix:
6363
arch: [amd64, arm64]
64-
runs-on: ${{ (matrix.arch != 'arm64' && ubuntu-24.04) || 'ubuntu-24.04-arm' }}
64+
runs-on: ${{ (matrix.arch == 'arm64' && 'ubuntu-24.04-arm') || 'ubuntu-24.04' }}
6565

6666
env:
6767
PLATFORM: linux/${{ matrix.arch }}
@@ -118,19 +118,19 @@ jobs:
118118
ansible/ci-build-builder.yml
119119
120120
build-builder-image-remote:
121-
if: contains(inputs.include-arch-json, 's390x')
122121
name: Build the builder image
123122
# Multiarch builds sometimes take for eeeeeeeeeever
124123
timeout-minutes: 480
125124
needs:
126125
- builder-needs-rebuilding
127126
if: |
128-
needs.builder-needs-rebuilding.outputs.build-image == 'true' ||
127+
(needs.builder-needs-rebuilding.outputs.build-image == 'true' ||
129128
(github.event_name == 'push' && (
130129
github.ref_type == 'tag' || startsWith(github.ref_name, 'release-')
131130
)) ||
132131
contains(github.event.pull_request.labels.*.name, 'build-builder-image') ||
133-
github.event_name == 'schedule'
132+
github.event_name == 'schedule') &&
133+
contains(inputs.include-arch-json, 's390x')
134134
outputs:
135135
collector-builder-tag: ${{ steps.builder-tag.outputs.collector-builder-tag }}
136136
strategy:

.github/workflows/collector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
arch: [amd64, arm64]
41-
runs-on: ${{ (matrix.arch != 'arm64' && ubuntu-24.04) || 'ubuntu-24.04-arm' }}
41+
runs-on: ${{ (matrix.arch == 'arm64' && 'ubuntu-22.04-arm') || 'ubuntu-22.04' }}
4242

4343
env:
4444
PLATFORM: linux/${{ matrix.arch }}

0 commit comments

Comments
 (0)