From bba57f39d55b8c23d14b0b1f6995fece7880a931 Mon Sep 17 00:00:00 2001
From: Stefan Agner <stefan@agner.ch>
Date: Thu, 10 Aug 2023 15:00:43 +0200
Subject: [PATCH] Add Home Assistant Green (#98171)

---
 .github/workflows/builder.yml             | 5 +++--
 homeassistant/components/version/const.py | 1 +
 machine/green                             | 4 ++++
 3 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100644 machine/green

diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
index 47e3e765b72..b5d37be44bc 100644
--- a/.github/workflows/builder.yml
+++ b/.github/workflows/builder.yml
@@ -197,7 +197,7 @@ jobs:
           password: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Build base image
-        uses: home-assistant/builder@2023.06.1
+        uses: home-assistant/builder@2023.08.0
         with:
           args: |
             $BUILD_ARGS \
@@ -251,6 +251,7 @@ jobs:
           - raspberrypi4-64
           - tinker
           - yellow
+          - green
     steps:
       - name: Checkout the repository
         uses: actions/checkout@v3.5.3
@@ -274,7 +275,7 @@ jobs:
           password: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Build base image
-        uses: home-assistant/builder@2023.06.1
+        uses: home-assistant/builder@2023.08.0
         with:
           args: |
             $BUILD_ARGS \
diff --git a/homeassistant/components/version/const.py b/homeassistant/components/version/const.py
index bdebf9f0255..2dcb0028b27 100644
--- a/homeassistant/components/version/const.py
+++ b/homeassistant/components/version/const.py
@@ -75,6 +75,7 @@ BOARD_MAP: Final[dict[str, str]] = {
     "Generic AArch64": "generic-aarch64",
     "Generic x86-64": "generic-x86-64",
     "Home Assistant Yellow": "yellow",
+    "Home Assistant Green": "green",
     "Khadas VIM3": "khadas-vim3",
 }
 
diff --git a/machine/green b/machine/green
new file mode 100644
index 00000000000..c1d74d3528e
--- /dev/null
+++ b/machine/green
@@ -0,0 +1,4 @@
+ARG \
+    BUILD_FROM
+
+FROM $BUILD_FROM
-- 
GitLab