Skip to content

Commit

Permalink
.github: build s3 gw for arm64 (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Apr 27, 2024
2 parents dac9244 + 8fc58fc commit 58fcb88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ on:
jobs:
build_bins:
name: Build binaries
runs-on: ubuntu-22.04
runs-on: ${{ matrix.os.name }}
strategy:
matrix:
os: [{ name: ubuntu-22.04, bin-name: linux }] # { name: windows-2022, bin-name: windows }, { name: macos-12, bin-name: darwin }
arch: [amd64] # arm64
os: [{ name: ubuntu-22.04, bin-name: linux }, { name: macos-12, bin-name: darwin }] # { name: windows-2022, bin-name: windows }
arch: [amd64, arm64]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
context: .
file: .docker/Dockerfile
push: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_image == 'true') }}
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
build-args: |
REPO=github.com/${{ github.repository }}
VERSION=${{ steps.setver.outputs.version }}
Expand Down

0 comments on commit 58fcb88

Please sign in to comment.