fix: arm ci/cd build with node20

# linux/arm/v7 arm32 is not supported by node20 https://github.com/nodejs/docker-node/issues/1946
This commit is contained in:
Ravinou 2024-02-04 12:58:42 +01:00
parent 731be37845
commit 45b211f397
No known key found for this signature in database
GPG key ID: EEEE670C40F6A4D7
4 changed files with 4 additions and 4 deletions

View file

@ -25,5 +25,5 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64 # linux/arm/v7 arm32 is not supported by node20 https://github.com/nodejs/docker-node/issues/1946
tags: borgwarehouse/borgwarehouse:develop

View file

@ -25,5 +25,5 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64 # linux/arm/v7 arm32 is not supported by node20 https://github.com/nodejs/docker-node/issues/1946
tags: borgwarehouse/borgwarehouse:latest

View file

@ -28,5 +28,5 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/arm64 # linux/arm/v7 arm32 is not supported by node20 https://github.com/nodejs/docker-node/issues/1946
tags: borgwarehouse/borgwarehouse:${{ steps.get_release_tag.outputs.TAG }}

View file

@ -18,4 +18,4 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Build Docker Container
run: |
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t borgwarehouse:pr-${{ github.event.pull_request.number }} .
docker buildx build --platform linux/amd64,linux/arm64 -t borgwarehouse:pr-${{ github.event.pull_request.number }} .