From d7cd46643dc4461891af883fc86d2faff321855f Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 8 Jul 2024 16:17:06 +0400 Subject: [PATCH] chore: fix the push/tag steps Add both platforms. Signed-off-by: Andrey Smirnov --- .github/workflows/ci.yaml | 16 +++++++++++++++- .kres.yaml | 14 ++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 89ab8b0a21..23ab3e3d06 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-08T11:54:59Z by kres 8c8b007. +# Generated on 2024-07-08T12:16:47Z by kres 8c8b007. name: default concurrency: @@ -3078,6 +3078,8 @@ jobs: endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234 timeout-minutes: 10 - name: build + env: + PLATFORM: linux/amd64,linux/arm64 run: | make talosctl-all kernel sd-boot sd-stub initramfs installer imager talos - name: release-notes @@ -3090,10 +3092,14 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} - name: push + env: + PLATFORM: linux/amd64,linux/arm64 run: | make push - name: push-latest if: '!startsWith(github.ref, ''refs/tags/'')' + env: + PLATFORM: linux/amd64,linux/arm64 run: | make push-latest tag: @@ -3152,6 +3158,8 @@ jobs: run: | sops -d .secrets.yaml | yq -e '.secrets | to_entries[] | .key + "=" + .value' >> "$GITHUB_ENV" - name: build + env: + PLATFORM: linux/amd64,linux/arm64 run: | make talosctl-all kernel sd-boot sd-stub initramfs installer imager talos - name: release-notes @@ -3164,12 +3172,18 @@ jobs: registry: ghcr.io username: ${{ github.repository_owner }} - name: push + env: + PLATFORM: linux/amd64,linux/arm64 run: | make push - name: images + env: + PLATFORM: linux/amd64,linux/arm64 run: | make images - name: cloud-images + env: + PLATFORM: linux/amd64,linux/arm64 run: | make cloud-images - name: Generate Checksums diff --git a/.kres.yaml b/.kres.yaml index ed76942d6c..a00159d71b 100644 --- a/.kres.yaml +++ b/.kres.yaml @@ -140,12 +140,18 @@ spec: steps: - name: build command: talosctl-all kernel sd-boot sd-stub initramfs installer imager talos + environment: + PLATFORM: linux/amd64,linux/arm64 - name: release-notes - name: login-to-registry registryLoginStep: registry: ghcr.io - name: push + environment: + PLATFORM: linux/amd64,linux/arm64 - name: push-latest + environment: + PLATFORM: linux/amd64,linux/arm64 conditions: - not-on-tag - name: tag @@ -160,13 +166,21 @@ spec: steps: - name: build command: talosctl-all kernel sd-boot sd-stub initramfs installer imager talos + environment: + PLATFORM: linux/amd64,linux/arm64 - name: release-notes - name: login-to-registry registryLoginStep: registry: ghcr.io - name: push + environment: + PLATFORM: linux/amd64,linux/arm64 - name: images + environment: + PLATFORM: linux/amd64,linux/arm64 - name: cloud-images + environment: + PLATFORM: linux/amd64,linux/arm64 - name: release releaseStep: baseDirectory: _out