From 818b7afeff97075c7dfce65c182ff82c89a9ec7a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 5 Jun 2025 18:13:59 +0300 Subject: [PATCH] feat(docker): try building linux/arm/v8 This is conceptually the same as as linux/arm64 but it is needed on some providers. --- .github/workflows/main-docker.yml | 3 +++ _regroup/bin/build-docker.sh | 12 ------------ 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 _regroup/bin/build-docker.sh diff --git a/.github/workflows/main-docker.yml b/.github/workflows/main-docker.yml index f06e7b3e9..2fe298217 100644 --- a/.github/workflows/main-docker.yml +++ b/.github/workflows/main-docker.yml @@ -111,6 +111,9 @@ jobs: - dockerfile: Dockerfile platform: linux/arm/v7 image: ubuntu-24.04-arm + - dockerfile: Dockerfile + platform: linux/arm/v8 + image: ubuntu-24.04-arm runs-on: ${{ matrix.image }} needs: - test_docker diff --git a/_regroup/bin/build-docker.sh b/_regroup/bin/build-docker.sh deleted file mode 100644 index d95c289d4..000000000 --- a/_regroup/bin/build-docker.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -set -e # Fail on any command error - -VERSION=`jq -r ".version" package.json` -SERIES=${VERSION:0:4}-latest - -sudo docker build -t triliumnext/notes:$VERSION --network host -t triliumnext/notes:$SERIES . - -if [[ $VERSION != *"beta"* ]]; then - sudo docker tag triliumnext/notes:$VERSION triliumnext/notes:latest -fi