diff --git a/.github/workflows/charterafrica-deploy-dev.yml b/.github/workflows/charterafrica-deploy-dev.yml index 6d100778c..e762a1641 100644 --- a/.github/workflows/charterafrica-deploy-dev.yml +++ b/.github/workflows/charterafrica-deploy-dev.yml @@ -2,7 +2,9 @@ name: charterAFRICA | Deploy | DEV on: push: - branches: [main] + branches: + - main + - chore/build-arm-image paths: - "apps/charterafrica/**" - "Dockerfile" @@ -32,6 +34,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -63,6 +69,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/charterafrica-deploy-prod.yml b/.github/workflows/charterafrica-deploy-prod.yml index 03fa6cb15..4e2632913 100644 --- a/.github/workflows/charterafrica-deploy-prod.yml +++ b/.github/workflows/charterafrica-deploy-prod.yml @@ -2,7 +2,9 @@ name: charterAFRICA | Deploy | PROD on: push: - branches: [main] + branches: + - main + - chore/build-arm-image # This allows a subsequently queued workflow run to interrupt previous runs concurrency: @@ -92,6 +94,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/civicsignalblog-deploy-prod.yml b/.github/workflows/civicsignalblog-deploy-prod.yml index 8ae44bbdb..04d472ddb 100644 --- a/.github/workflows/civicsignalblog-deploy-prod.yml +++ b/.github/workflows/civicsignalblog-deploy-prod.yml @@ -2,7 +2,9 @@ name: CivicSignal Blog | Deploy | PROD on: push: - branches: [main] + branches: + - main + - chore/build-arm-image # This allows a subsequently queued workflow run to interrupt previous runs concurrency: @@ -31,6 +33,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 @@ -84,6 +90,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/climatemappedafrica-deploy-dev.yml b/.github/workflows/climatemappedafrica-deploy-dev.yml index 285b91405..e6ee7037f 100644 --- a/.github/workflows/climatemappedafrica-deploy-dev.yml +++ b/.github/workflows/climatemappedafrica-deploy-dev.yml @@ -2,7 +2,9 @@ name: Climate Mapped Africa | Deploy | DEV on: push: - branches: [main] + branches: + - main + - chore/build-arm-image paths: - "apps/climatemappedafrica/**" - "Dockerfile" @@ -33,6 +35,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -61,6 +67,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 target: climatemappedafrica-runner push: true tags: "${{ env.IMAGE_NAME }}:${{ github.sha }}" diff --git a/.github/workflows/codeforafrica-deploy-dev.yml b/.github/workflows/codeforafrica-deploy-dev.yml index 44b7d919b..c84bba404 100644 --- a/.github/workflows/codeforafrica-deploy-dev.yml +++ b/.github/workflows/codeforafrica-deploy-dev.yml @@ -2,7 +2,9 @@ name: Code for Africa | Deploy | DEV on: push: - branches: [main] + branches: + - main + - chore/build-arm-image paths: - "apps/codeforafrica/**" - "Dockerfile" @@ -34,6 +36,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -66,6 +72,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/codeforafrica-deploy-prod.yml b/.github/workflows/codeforafrica-deploy-prod.yml index 7be2dd21c..3073603ff 100644 --- a/.github/workflows/codeforafrica-deploy-prod.yml +++ b/.github/workflows/codeforafrica-deploy-prod.yml @@ -2,7 +2,9 @@ name: Code for Africa | Deploy | PROD on: push: - branches: [main] + branches: + - main + - chore/build-arm-image # This allows a subsequently queued workflow run to interrupt previous runs concurrency: @@ -32,6 +34,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 @@ -87,6 +93,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/pesayetu-deploy-dev.yml b/.github/workflows/pesayetu-deploy-dev.yml index a9a268c18..de50bf750 100644 --- a/.github/workflows/pesayetu-deploy-dev.yml +++ b/.github/workflows/pesayetu-deploy-dev.yml @@ -34,6 +34,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -68,6 +72,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 }}:${{ github.sha }}" target: pesayetu-runner diff --git a/.github/workflows/roboshield-deploy-dev.yml b/.github/workflows/roboshield-deploy-dev.yml index 104f05e56..043f896bc 100644 --- a/.github/workflows/roboshield-deploy-dev.yml +++ b/.github/workflows/roboshield-deploy-dev.yml @@ -2,7 +2,10 @@ name: RoboShield | Deploy | DEV on: push: - branches: [main] + branches: + - main + - chore/build-arm-image + paths: - "apps/roboshield/**" - "Dockerfile" @@ -34,6 +37,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -65,6 +72,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/roboshield-deploy-prod.yml b/.github/workflows/roboshield-deploy-prod.yml index 1a96f8bd7..bbe908eba 100644 --- a/.github/workflows/roboshield-deploy-prod.yml +++ b/.github/workflows/roboshield-deploy-prod.yml @@ -2,7 +2,9 @@ name: RoboShield | Deploy | PROD on: push: - branches: [main] + branches: + - main + - chore/build-arm-image concurrency: group: "${{ github.workflow }} @ ${{ github.ref }}" @@ -30,6 +32,11 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -77,6 +84,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/.github/workflows/vpnmanager-deploy-dev.yml b/.github/workflows/vpnmanager-deploy-dev.yml index a157f58d5..696df5dc3 100644 --- a/.github/workflows/vpnmanager-deploy-dev.yml +++ b/.github/workflows/vpnmanager-deploy-dev.yml @@ -2,7 +2,9 @@ name: VPN Manager | Deploy | DEV on: push: - branches: [main] + branches: + - main + - chore/build-arm-image paths: - "apps/vpnmanager/**" - "Dockerfile.vpnmanager" @@ -31,6 +33,10 @@ jobs: with: fetch-depth: 0 + # Add support for more platforms with QEMU (optional) + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -60,6 +66,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 secrets: | "sentry_auth_token=${{ secrets.SENTRY_AUTH_TOKEN }}" diff --git a/apps/charterafrica/package.json b/apps/charterafrica/package.json index 8f7516a0d..3b2a9063f 100644 --- a/apps/charterafrica/package.json +++ b/apps/charterafrica/package.json @@ -1,6 +1,6 @@ { "name": "charterafrica", - "version": "0.1.33", + "version": "0.1.34", "private": true, "author": "Code for Africa ", "description": "This is the official code for https://charter.africa site", diff --git a/apps/civicsignalblog/contrib/dokku/Dockerfile b/apps/civicsignalblog/contrib/dokku/Dockerfile index 9b020b544..069d08072 100644 --- a/apps/civicsignalblog/contrib/dokku/Dockerfile +++ b/apps/civicsignalblog/contrib/dokku/Dockerfile @@ -1 +1 @@ -FROM codeforafrica/codeforafrica-ui:0.1.13 +FROM codeforafrica/codeforafrica-ui:0.1.16 diff --git a/apps/civicsignalblog/package.json b/apps/civicsignalblog/package.json index 778831acc..762dd2384 100644 --- a/apps/civicsignalblog/package.json +++ b/apps/civicsignalblog/package.json @@ -1,6 +1,6 @@ { "name": "civicsignalblog", - "version": "0.1.13", + "version": "0.1.16", "private": true, "author": "Code for Africa ", "description": "This is the (temporary) CivicSignal blog", diff --git a/apps/climatemappedafrica/package.json b/apps/climatemappedafrica/package.json index ffa03a767..336ca44a5 100644 --- a/apps/climatemappedafrica/package.json +++ b/apps/climatemappedafrica/package.json @@ -1,6 +1,6 @@ { "name": "climatemappedafrica", - "version": "0.0.3", + "version": "0.0.4", "private": true, "author": "Code for Africa ", "description": "ClimateMapped Africa", diff --git a/apps/codeforafrica/package.json b/apps/codeforafrica/package.json index 6372d764e..3063e792c 100644 --- a/apps/codeforafrica/package.json +++ b/apps/codeforafrica/package.json @@ -1,6 +1,6 @@ { "name": "codeforafrica", - "version": "1.0.56", + "version": "1.0.58", "private": true, "author": "Code for Africa ", "description": "This is the main CFA site.", diff --git a/apps/roboshield/package.json b/apps/roboshield/package.json index 1b621420d..f8412b00a 100644 --- a/apps/roboshield/package.json +++ b/apps/roboshield/package.json @@ -1,6 +1,6 @@ { "name": "roboshield", - "version": "0.1.13", + "version": "0.1.14", "private": true, "scripts": { "build-server": "tsc --project tsconfig.server.json", diff --git a/apps/vpnmanager/package.json b/apps/vpnmanager/package.json index f28a9cb84..965b45f47 100644 --- a/apps/vpnmanager/package.json +++ b/apps/vpnmanager/package.json @@ -1,6 +1,6 @@ { "name": "vpnmanager", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "dev": "next dev",