Skip to content

Build Talos images

Build Talos images #1

Workflow file for this run

name: Build Talos images
on:
workflow_dispatch: {}
env:
TALOS_VERSION: v1.6.1
jobs:
build-talos-image:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Build Hetzner Cloud image
run: |
docker run --rm -t --privileged \
-v /dev:/dev -v $PWD/_out:/out \
ghcr.io/siderolabs/imager:$TALOS_VERSION \
hcloud --system-extension-image=ghcr.io/siderolabs/iscsi-tools:v0.1.4 --system-extension-image=ghcr.io/siderolabs/util-linux-tools:v1.6.1
- name: Build metal image
run: |
docker run --rm -t --privileged \
-v /dev:/dev -v $PWD/_out:/out \
ghcr.io/siderolabs/imager:$TALOS_VERSION \
metal --system-extension-image=ghcr.io/siderolabs/iscsi-tools:v0.1.4 --system-extension-image=ghcr.io/siderolabs/util-linux-tools:v1.6.1
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: talos-image
path: _out/*.raw.xz