From 97090c7be0da47fe85b05d63a5a30d7a224ad13b Mon Sep 17 00:00:00 2001 From: VinneyJ Date: Tue, 8 Oct 2024 15:52:38 +0300 Subject: [PATCH 1/4] chore: add Multiplatform support --- .github/workflows/main.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 107aa44c..b03c3a1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,9 @@ name: main on: push: - branches: [main] + branches: + - main + - chore/build-arm-image env: DOKKU_REMOTE_BRANCH: "master" DOKKU_REMOTE_URL: "ssh://dokku@ui-1.prod.codeforafrica.org/sensors-africa-ui" @@ -22,6 +24,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + # Set up Node since it's required by version-check # https://github.com/EndBug/version-check#github-workflow - name: Setup Node.js @@ -67,6 +73,7 @@ jobs: cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new context: . + platforms: linux/amd64,linux/arm64 push: true tags: "${{ env.IMAGE_NAME }}:${{ steps.version-check.outputs.version }}" From 67b4397c158cd1d952bfe63cc2bc760a9874783e Mon Sep 17 00:00:00 2001 From: VinneyJ Date: Tue, 8 Oct 2024 16:03:13 +0300 Subject: [PATCH 2/4] fix: remove extra branch --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b03c3a1e..bd432ce8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,6 @@ on: push: branches: - main - - chore/build-arm-image env: DOKKU_REMOTE_BRANCH: "master" DOKKU_REMOTE_URL: "ssh://dokku@ui-1.prod.codeforafrica.org/sensors-africa-ui" From 70de730b9e31dbba8d20513f44234e62eec234c4 Mon Sep 17 00:00:00 2001 From: VinneyJ Date: Wed, 9 Oct 2024 15:15:46 +0300 Subject: [PATCH 3/4] chore: bump from 0.4.26 to 0.4.27 --- .github/workflows/main.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd432ce8..b03c3a1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,7 @@ on: push: branches: - main + - chore/build-arm-image env: DOKKU_REMOTE_BRANCH: "master" DOKKU_REMOTE_URL: "ssh://dokku@ui-1.prod.codeforafrica.org/sensors-africa-ui" diff --git a/package.json b/package.json index 5d77b961..e002642b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sensors.africa", "description": "sensors.AFRICA", - "version": "0.4.26", + "version": "0.4.27", "private": true, "main": "index.js", "homepage": "https://sensors.africa/", From 1f89a2dcce5f3a9afd48805137d5b68b73c1156b Mon Sep 17 00:00:00 2001 From: VinneyJ Date: Wed, 9 Oct 2024 15:19:59 +0300 Subject: [PATCH 4/4] chore: chore: bump from 0.4.26 to 0.4.28 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e002642b..39f331c1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sensors.africa", "description": "sensors.AFRICA", - "version": "0.4.27", + "version": "0.4.28", "private": true, "main": "index.js", "homepage": "https://sensors.africa/",