Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Commit dee239c

Browse files
committed
🚑 Fix CI/CD
1 parent c6af5e8 commit dee239c

File tree

3 files changed

+22
-7
lines changed

3 files changed

+22
-7
lines changed

.github/workflows/build_addon.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,26 @@ jobs:
1818
build-dockers:
1919
runs-on: ubuntu-latest
2020
strategy:
21-
fail-fast: true
21+
fail-fast: false
2222
matrix:
23-
arch: [ aarch64, amd64, armv7, i386 ]
23+
arch: [ aarch64, amd64, armv7, i386, armhf ]
24+
include:
25+
- arch: aarch64
26+
arch_value: linux/arm64/v8
27+
- arch: amd64
28+
arch_value: linux/amd64
29+
- arch: armv7
30+
arch_value: linux/arm/v7
31+
- arch: i386
32+
arch_value: linux/386
33+
- arch: armhf
34+
arch_value: linux/arm/v6
2435
steps:
2536

2637
- uses: actions/checkout@v2
2738

28-
- name: Add Qemu-user-static ${{matrix.arch}}
29-
run: docker run --rm --privileged hassioaddons/qemu-user-static:latest
39+
- name: Set up QEMU
40+
uses: docker/setup-qemu-action@v1
3041

3142
- name: Set up Docker Buildx ${{matrix.arch}}
3243
uses: docker/setup-buildx-action@v1
@@ -93,3 +104,4 @@ jobs:
93104
cache-from: type=registry,ref=${{env.REPOSITORY}}/${{env.IMAGE}}/${{matrix.arch}}:latest
94105
cache-to: type=inline
95106
context: ./${{env.TARGET}}/
107+
platforms: ${{ matrix.arch_value }}

nextcloud_backup/.base_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.0.2
1+
11.1.2

nextcloud_backup/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ COPY rootfs/etc /etc/
66
COPY rootfs/usr /usr/
77

88
# Setup base
9-
RUN apk add --no-cache \
10-
nodejs-current
9+
RUN apk add --no-cache nodejs-current
10+
11+
# Fix for arm/v7
12+
RUN mkdir -p /usr/local/sbin/
13+
RUN ln -s /usr/bin/node /usr/local/sbin/node
1114

1215
# Copy only package*.json
1316
COPY rootfs/opt/nextcloud_backup/package*.json /opt/nextcloud_backup/

0 commit comments

Comments
 (0)