Skip to content

Commit

Permalink
Try arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
fridim committed Mar 24, 2023
1 parent a90dfa5 commit ba14877
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/build-ee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
build-and-push:
runs-on: ubuntu-latest

strategy:
matrix:
platform:
- linux/arm64
- linux/amd64

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -40,6 +46,8 @@ jobs:
tags: ${{inputs.tag}} ${{ github.sha }}
labels: ${{ inputs.labels }}
context: tools/execution_environments/ee-multicloud-public
platform: ${{ matrix.platform }}
build-args: ARCH=${{matrix.platform}}
containerfiles: |-
tools/execution_environments/ee-multicloud-public/Containerfile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM registry.access.redhat.com/ubi8/ubi:8.7
ARG ARCH=amd64
FROM --platform=$ARCH registry.access.redhat.com/ubi8/ubi:8.7

USER root
WORKDIR /root
Expand Down

0 comments on commit ba14877

Please sign in to comment.