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 }}" diff --git a/package.json b/package.json index 5d77b961..39f331c1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sensors.africa", "description": "sensors.AFRICA", - "version": "0.4.26", + "version": "0.4.28", "private": true, "main": "index.js", "homepage": "https://sensors.africa/",