Skip to content

Commit

Permalink
chore: actually build ARM
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 committed Jan 5, 2025
1 parent ae31f0c commit 6647aa1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ env:
DEFAULT_TAG: "latest"
CENTOS_VERSION: "stream10"
# PRs should only build for amd64. The rest are pushed, so we should build for all platforms
PLATFORMS: ${{ github.event_name == 'pull_request' && 'amd64' || 'amd64, arm64' }}
# PLATFORMS: ${{ github.event_name == 'pull_request' && 'amd64' || 'amd64, arm64' }}
PLATFORMS: "amd64, arm64"

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
Expand All @@ -43,7 +44,7 @@ jobs:
build_push:
name: Build and push image
runs-on: ${{ matrix.platform == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04' }}
runs-on: ${{ matrix.platform == 'amd64' && 'ubuntu-24.04' || format('runs-on,runner=1cpu-linux-{0},run-id={1}', matrix.arch, github.run_id) }}
needs: generate_matrix
container:
image: redhat/ubi9:latest
Expand Down

0 comments on commit 6647aa1

Please sign in to comment.