fix arm builds
All checks were successful
CI / Static Analysis (pre-commit) (pull_request) Successful in 1m5s
CI / Tests (pull_request) Successful in 1m0s
CI / Build and push image (ubuntu-latest) (pull_request) Successful in 36s
CI / Build and push image (ubuntu-arm-latest) (pull_request) Successful in 3m42s
All checks were successful
CI / Static Analysis (pre-commit) (pull_request) Successful in 1m5s
CI / Tests (pull_request) Successful in 1m0s
CI / Build and push image (ubuntu-latest) (pull_request) Successful in 36s
CI / Build and push image (ubuntu-arm-latest) (pull_request) Successful in 3m42s
This commit is contained in:
parent
60ed4547e0
commit
6b8a5e36ac
@ -63,7 +63,10 @@ jobs:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
build:
|
||||
name: Build and push image
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ matrix.runner }}
|
||||
strategy:
|
||||
matrix:
|
||||
runner: [ubuntu-latest, ubuntu-arm-latest]
|
||||
permissions:
|
||||
packages: write
|
||||
needs: tests
|
||||
@ -101,5 +104,5 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
annotations: ${{ steps.meta.outputs.annotations }}
|
||||
target: prod
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: ${{ matrix.runner == 'ubuntu-latest' && 'linux/amd64' || 'linux/arm64' }}
|
||||
push: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user