Skip to content

Commit

Permalink
.github: build s3 gw for arm64
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Zayats <zayatsevgeniy@nspcc.io>
  • Loading branch information
Evgeniy Zayats committed Apr 27, 2024
1 parent dac9244 commit 68fe419
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ 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]
exclude:
- os: { name: macos-12, bin-name: darwin }
arch: 'amd64'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -122,7 +125,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,darwin
build-args: |
REPO=github.com/${{ github.repository }}
VERSION=${{ steps.setver.outputs.version }}
Expand Down

0 comments on commit 68fe419

Please sign in to comment.