Skip to content

Commit

Permalink
chore: fix the push/tag steps
Browse files Browse the repository at this point in the history
Add both platforms.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
smira committed Jul 8, 2024
1 parent c9aeeca commit d7cd466
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
16 changes: 15 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-08T11:54:59Z by kres 8c8b007.
# Generated on 2024-07-08T12:16:47Z by kres 8c8b007.

name: default
concurrency:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
14 changes: 14 additions & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d7cd466

Please sign in to comment.