Skip to content

Commit ec893b4

Browse files
Preisschildfrezbo
authored andcommitted
chore(ci): create multiplatform (amd&arm) image
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 <[email protected]> Signed-off-by: Noel Georgi <[email protected]>
1 parent 5ce42bf commit ec893b4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
22
#
3-
# Generated on 2024-07-03T12:32:21Z by kres 2c4ff8a.
3+
# Generated on 2024-07-03T13:01:47Z by kres 2c4ff8a.
44

55
name: default
66
concurrency:
@@ -95,12 +95,14 @@ jobs:
9595
- name: push-talos-backup
9696
if: github.event_name != 'pull_request'
9797
env:
98+
PLATFORM: linux/amd64,linux/arm64
9899
PUSH: "true"
99100
run: |
100101
make image-talos-backup
101102
- name: push-talos-backup-latest
102103
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
103104
env:
105+
PLATFORM: linux/amd64,linux/arm64
104106
PUSH: "true"
105107
run: |
106108
make image-talos-backup IMAGE_TAG=latest

.kres.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ spec:
99
GOOS: linux
1010
GOARCH: arm64
1111
---
12+
kind: common.Image
13+
name: image-talos-backup
14+
spec:
15+
extraEnvironment:
16+
PLATFORM: linux/amd64,linux/arm64
17+
---
1218
kind: auto.CustomSteps
1319
spec:
1420
steps:

0 commit comments

Comments
 (0)