Skip to content

Commit 9d68ccd

Browse files
committed
Add support for linux/ppc64le (UBI) only.
1 parent ee715a7 commit 9d68ccd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
runs-on: ubuntu-latest
123123
strategy:
124124
matrix:
125-
arch: ["arm64", "amd64", "s390x"]
125+
arch: ["arm64", "amd64", "s390x", "ppc64le"]
126126
fail-fast: true
127127
steps:
128128
- name: Checkout
@@ -207,7 +207,7 @@ jobs:
207207
runs-on: ubuntu-latest
208208
strategy:
209209
matrix:
210-
arch: ["arm64", "amd64", "s390x"]
210+
arch: ["arm64", "amd64", "s390x", "ppc64le"]
211211
env:
212212
repo: ${{github.event.repository.name}}
213213
version: ${{needs.get-product-version.outputs.product-version}}
@@ -219,7 +219,7 @@ jobs:
219219
run: |
220220
make ci-build-scripts-dir GOARCH="${{ matrix.arch }}"
221221
- name: Docker Build (Action)
222-
if: ${{ matrix.arch != 's390x' }}
222+
if: ${{ matrix.arch != 's390x' || matrix.arch != 'ppc64le' }}
223223
uses: hashicorp/actions-docker-build@v2
224224
env:
225225
VERSION: ${{ needs.get-product-version.outputs.product-version }}
@@ -232,8 +232,8 @@ jobs:
232232
tags: |
233233
docker.io/hashicorp/${{env.repo}}:${{env.image_tag}}
234234
public.ecr.aws/hashicorp/${{env.repo}}:${{env.image_tag}}
235-
- name: Docker Build (Action) s390x
236-
if: ${{ matrix.arch == 's390x' }}
235+
- name: Docker Build (Action) s390x or ppc64le
236+
if: ${{ matrix.arch == 's390x' || matrix.arch == 'ppc64le' }}
237237
uses: hashicorp/actions-docker-build@v2
238238
env:
239239
VERSION: ${{ needs.get-product-version.outputs.product-version }}
@@ -244,6 +244,7 @@ jobs:
244244
arch: ${{matrix.arch}}
245245
redhat_tag: quay.io/redhat-isv-containers/64b072322e2773c28d30d988:${{env.image_tag}}
246246
- name: Check binary version in container ${{ matrix.arch }}
247+
#if: ${{ matrix.arch != 's390x' || matrix.arch != 'ppc64le' }}
247248
if: ${{ matrix.arch != 's390x' }}
248249
shell: bash
249250
run: |

0 commit comments

Comments
 (0)