mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-26 20:01:16 +01:00
We've been downloading invalid format for the AWS image. Signed-off-by: Mateusz Urbanek <mateusz.urbanek@siderolabs.com>
79 lines
2.5 KiB
YAML
79 lines
2.5 KiB
YAML
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
|
#
|
|
# Generated on 2025-10-01T15:07:27Z by kres bc281a9.
|
|
|
|
"on":
|
|
workflow_dispatch:
|
|
inputs:
|
|
release:
|
|
description: ""
|
|
type: string
|
|
required: false
|
|
tag:
|
|
description: ""
|
|
type: string
|
|
required: false
|
|
name: dispatch
|
|
jobs:
|
|
cloud-images:
|
|
permissions:
|
|
actions: read
|
|
contents: write
|
|
issues: read
|
|
packages: write
|
|
pull-requests: read
|
|
runs-on:
|
|
group: generic
|
|
if: (!startsWith(github.head_ref, 'renovate/') && !startsWith(github.head_ref, 'dependabot/'))
|
|
steps:
|
|
- name: gather-system-info
|
|
id: system-info
|
|
uses: kenchan0130/actions-system-info@v1.4.0
|
|
continue-on-error: true
|
|
- name: print-system-info
|
|
run: |
|
|
MEMORY_GB=$((${{ steps.system-info.outputs.totalmem }}/1024/1024/1024))
|
|
|
|
OUTPUTS=(
|
|
"CPU Core: ${{ steps.system-info.outputs.cpu-core }}"
|
|
"CPU Model: ${{ steps.system-info.outputs.cpu-model }}"
|
|
"Hostname: ${{ steps.system-info.outputs.hostname }}"
|
|
"NodeName: ${NODE_NAME}"
|
|
"Kernel release: ${{ steps.system-info.outputs.kernel-release }}"
|
|
"Kernel version: ${{ steps.system-info.outputs.kernel-version }}"
|
|
"Name: ${{ steps.system-info.outputs.name }}"
|
|
"Platform: ${{ steps.system-info.outputs.platform }}"
|
|
"Release: ${{ steps.system-info.outputs.release }}"
|
|
"Total memory: ${MEMORY_GB} GB"
|
|
)
|
|
|
|
for OUTPUT in "${OUTPUTS[@]}";do
|
|
echo "${OUTPUT}"
|
|
done
|
|
continue-on-error: true
|
|
- name: checkout
|
|
uses: actions/checkout@v5
|
|
- name: Unshallow
|
|
run: |
|
|
git fetch --prune --unshallow
|
|
- name: Mask secrets
|
|
run: |
|
|
echo "$(sops -d .secrets.yaml | yq -e '.secrets | to_entries[] | "::add-mask::" + .value')"
|
|
- name: Set secrets for job
|
|
run: |
|
|
sops -d .secrets.yaml | yq -e '.secrets | to_entries[] | .key + "=" + .value' >> "$GITHUB_ENV"
|
|
- name: cloud-images
|
|
env:
|
|
CLOUD_IMAGES_EXTRA_ARGS: --use-factory
|
|
PLATFORM: linux/amd64,linux/arm64
|
|
TAG: ${{ github.event.inputs.tag }}
|
|
run: |
|
|
make cloud-images
|
|
- name: attach-images
|
|
env:
|
|
GH_TOKEN: ${{ github.token }}
|
|
RELEASE: ${{ github.event.inputs.release }}
|
|
run: |
|
|
gh release upload "${RELEASE}" --clobber \
|
|
_out/cloud-images.json
|