summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-03-12 10:22:53 +0100
committernicolargo <nicolas@nicolargo.com>2023-03-12 10:22:53 +0100
commit94a039515791cf14eca7cbb062fa6451f478ed89 (patch)
treec98ca1156e11d09deab8b51d055b5ce87e59797a /.github
parent28b46a72a42949fd5e81396c65a4797a06db69a3 (diff)
Ubuntu image only support linux/amd64 and linux/arm64 - See issue #2185
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index cbe49e79..c9b2f09e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,8 +8,10 @@ env:
DEFAULT_DOCKER_IMAGE: nicolargo/glances
NODE_ENV: ${{ (contains('refs/heads/master', github.ref) || startsWith(github.ref, 'refs/tags/v')) && 'prod' || 'dev' }}
PUSH_BRANCH: ${{ 'refs/heads/develop' == github.ref || 'refs/heads/master' == github.ref || startsWith(github.ref, 'refs/tags/v') }}
- # linux/arm/v6 support following issue #2120
+ # linux/arm/v7 support following issue - See issue #2120
DOCKER_PLATFORMS: linux/amd64,linux/arm/v7,linux/arm64,linux/386
+ # Ubuntu image only support linux/amd64 and linux/arm64 - See issue #2185
+ DOCKER_PLATFORMS_UBUNTU: linux/amd64,linux/arm64
on:
pull_request:
@@ -144,7 +146,7 @@ jobs:
CHANGING_ARG=${{ github.sha }}
context: .
file: "docker-files/${{ matrix.os }}.Dockerfile"
- platforms: ${{env.DOCKER_PLATFORMS}}
+ platforms: ${{ matrix.os != 'ubuntu' && env.DOCKER_PLATFORMS || env.DOCKER_PLATFORMS_UBUNTU }}
target: ${{ matrix.tag.target }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: type=local,src=/tmp/.buildx-cache