From ec893b4febc922082ebb57da6380e568eb4a851c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Str=C3=B6ger?= Date: Tue, 2 Jul 2024 16:27:05 +0200 Subject: [PATCH] chore(ci): create multiplatform (amd&arm) image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently talos-backup doesn't support ARM nodes and only runs on AMD64 nodes. This enables using talos-backup on arm64 nodes. Signed-off-by: Ströger Florian Signed-off-by: Noel Georgi --- .github/workflows/ci.yaml | 4 +++- .kres.yaml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f8fce42..fc0e5dd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-07-03T12:32:21Z by kres 2c4ff8a. +# Generated on 2024-07-03T13:01:47Z by kres 2c4ff8a. name: default concurrency: @@ -95,12 +95,14 @@ jobs: - name: push-talos-backup if: github.event_name != 'pull_request' env: + PLATFORM: linux/amd64,linux/arm64 PUSH: "true" run: | make image-talos-backup - name: push-talos-backup-latest if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' env: + PLATFORM: linux/amd64,linux/arm64 PUSH: "true" run: | make image-talos-backup IMAGE_TAG=latest diff --git a/.kres.yaml b/.kres.yaml index 3444252..3624837 100644 --- a/.kres.yaml +++ b/.kres.yaml @@ -9,6 +9,12 @@ spec: GOOS: linux GOARCH: arm64 --- +kind: common.Image +name: image-talos-backup +spec: + extraEnvironment: + PLATFORM: linux/amd64,linux/arm64 +--- kind: auto.CustomSteps spec: steps: