3737 required : false
3838 type : string
3939 default : " namespace-profile-ubuntu-latest-arm"
40+ s390x-runner-label :
41+ description : The label to use for the runner (if not specified then the default ubuntu-latest or equivalent is used).
42+ required : false
43+ type : string
44+ default : " ubuntu-24.04-s390x"
4045 secrets :
4146 cosign_private_key :
4247 description : The optional Cosign key to use for signing the images.
@@ -75,18 +80,19 @@ jobs:
7580 platform :
7681 - amd64
7782 - arm64
83+ - s390x
7884 target :
7985 - production
8086 name : ${{ matrix.platform }}/${{ matrix.target }} container image build
81- runs-on : ${{ (contains(matrix.platform, 'arm') && inputs.arm-runner-label) || inputs.amd-runner-label }}
87+ runs-on : ${{ (contains(matrix.platform, 'arm') && inputs.arm-runner-label) || (contains(matrix.platform, 's390x') && inputs.s390x-runner-label) || inputs.amd-runner-label }}
8288 steps :
8389 - name : Harden the runner
8490 uses : step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
8591 with :
8692 egress-policy : ${{ env.STEP_SECURITY_EGRESS_POLICY }}
8793
8894 - name : Checkout code
89- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
95+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
9096 with :
9197 repository : telemetryforge/agent
9298 ref : ${{ inputs.ref }}
@@ -104,7 +110,7 @@ jobs:
104110
105111 # Must be removed on Namespace runners
106112 - name : Set up QEMU
107- if : ${{ !contains( runner.name, 'nsc-' ) }}
113+ if : ${{ !( contains( runner.name, 'nsc-' ) || contains( matrix.platform, 's390x' ) ) }}
108114 uses : docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0
109115
110116 - name : Set up Docker Buildx
0 commit comments