Skip to content

Commit

Permalink
Add ppc64le and s390x support
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 committed Jan 27, 2025
1 parent 3dd62fe commit 26edcc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/recreate-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
build-args: |
TOKEN=${{ secrets.PULL_TOKEN }}
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
no-cache: true
push: true
tags: |
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
build-args: |
TOKEN=${{ secrets.PULL_TOKEN }}
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
no-cache: true
push: true
tags: |
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/ubi:9.5@sha256:53d6c19d664f4f418ce5c823d3a33dbb562a2550ea249cf07ef10aa063ace38f AS builder
FROM --platform=$BUILDPLATFORM registry.access.redhat.com/ubi9/ubi:9.5@sha256:53d6c19d664f4f418ce5c823d3a33dbb562a2550ea249cf07ef10aa063ace38f AS builder
ARG OCT_REPO=github.com/test-network-function/oct.git
ARG TOKEN
ENV OCT_FOLDER=/usr/oct
Expand All @@ -14,7 +14,6 @@ ENV \
ENV GO_BIN_URL_x86_64=${GO_DL_URL}/go1.23.5.linux-amd64.tar.gz
ENV GO_BIN_URL_aarch64=${GO_DL_URL}/go1.23.5.linux-arm64.tar.gz

# Determine the CPU architecture and download the appropriate Go binary
RUN \
if [ "$(uname -m)" = x86_64 ]; then \
wget --directory-prefix=${TEMP_DIR} ${GO_BIN_URL_x86_64} --quiet \
Expand Down

0 comments on commit 26edcc6

Please sign in to comment.