Skip to content

Commit

Permalink
chore(ci): create multiplatform (amd&arm) image
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Preisschild authored and frezbo committed Jul 3, 2024
1 parent 5ce42bf commit ec893b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ec893b4

Please sign in to comment.