From 02858a5c7ad8c9e8f0d7b25003a57c355b7bca59 Mon Sep 17 00:00:00 2001
From: wkoot <3715211+wkoot@users.noreply.github.com>
Date: Thu, 20 Jun 2024 12:20:29 +0200
Subject: [PATCH] Provide multi-platform builds in order to support a wider
 variety of (Kubernetes) deployments.

Closes #9025
---
 .github/workflows/release.yml | 7 +++++++
 docs/src/changelog.md         | 1 +
 2 files changed, 8 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b9caf37fe7..c77b4f51d5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -23,18 +23,21 @@ jobs:
         uses: docker/build-push-action@v6.0.1
         with:
           context: components/database
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_database:${{ github.ref_name }}
           push: true
       - name: Push Renderer to Docker Hub
         uses: docker/build-push-action@v6.0.1
         with:
           context: components/renderer
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_renderer:${{ github.ref_name }}
           push: true
       - name: Push Proxy to Docker Hub
         uses: docker/build-push-action@v6.0.1
         with:
           context: components/proxy
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_proxy:${{ github.ref_name }}
           push: true
       - name: Push Collector to Docker Hub
@@ -42,6 +45,7 @@ jobs:
         with:
           context: components
           file: components/collector/Dockerfile
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_collector:${{ github.ref_name }}
           push: true
       - name: Push Notifier to Docker Hub
@@ -49,6 +53,7 @@ jobs:
         with:
           context: components
           file: components/notifier/Dockerfile
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_notifier:${{ github.ref_name }}
           push: true
       - name: Push API-server to Docker Hub
@@ -56,12 +61,14 @@ jobs:
         with:
           context: components
           file: components/api_server/Dockerfile
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_api_server:${{ github.ref_name }}
           push: true
       - name: Push Frontend to Docker Hub
         uses: docker/build-push-action@v6.0.1
         with:
           context: components/frontend
+          platforms: linux/amd64,linux/arm64
           tags: ictu/quality-time_frontend:${{ github.ref_name }}
           push: true
       - name: Anchore SBOM Action
diff --git a/docs/src/changelog.md b/docs/src/changelog.md
index ae5b0ceb03..120aa5f3fe 100644
--- a/docs/src/changelog.md
+++ b/docs/src/changelog.md
@@ -28,6 +28,7 @@ If your currently installed *Quality-time* version is not v5.13.0, please first
 - Added a [versioning policy](versioning.md) to the documentation. Closes [#8748](https://github.com/ICTU/quality-time/issues/8748).
 - Allow for specifying supported source versions in the data model. Show the supported source version in the UI and the reference documentation. Closes [#8786](https://github.com/ICTU/quality-time/issues/8786).
 - Show a card in the dashboard with the number of metrics that require action (red, yellow, and white metrics). The card can be hidden via the Settings panel. Clicking the card or setting "Visible metrics" to "Metrics requiring action" in the Settings panel hides metrics that do not require action. Closes [#8938](https://github.com/ICTU/quality-time/issues/8938).
+- Provide multi-platform builds in order to support a wider variety of (Kubernetes) deployments. Closes [#9025](https://github.com/ICTU/quality-time/issues/9025).
 
 ### Changed