From 963f22f8e75ce059aec5c21a9b68bcb3348a7b26 Mon Sep 17 00:00:00 2001
From: Peter Kurfer <peter@icb4dc0.de>
Date: Wed, 12 Feb 2025 17:08:15 +0100
Subject: [PATCH] fix(act): use imagetools to stitch images together

---
 .forgejo/workflows/act_runtime.yaml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/.forgejo/workflows/act_runtime.yaml b/.forgejo/workflows/act_runtime.yaml
index 182876a..c441e18 100644
--- a/.forgejo/workflows/act_runtime.yaml
+++ b/.forgejo/workflows/act_runtime.yaml
@@ -66,7 +66,6 @@ jobs:
 
       - name: Create manifest
         run: |
-          docker manifest create code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }} \
-              --amend code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }}-arm64 \
-              --amend code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }}-amd64
-          docker manifest push code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }}
+          docker buildx imagetools create -t code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }} \
+              code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }}-arm64 \
+              code.icb4dc0.de/infrastructure/images/act_runtime:${{ matrix.base_tag }}-amd64