Skip to content

Merge pull request #92 from flatcar/reword-sysext-release #52

Merge pull request #92 from flatcar/reword-sysext-release

Merge pull request #92 from flatcar/reword-sysext-release #52

Workflow file for this run

name: Build and release Systemd sysext images
on:
push:
tags:
- 'latest'
- '[0-9]+'
jobs:
build:
runs-on: ubuntu-22.04
permissions:
# allow the action to create a release
contents: write
steps:
# checkout the sources
- uses: actions/checkout@v4
with:
path: bakery
# prepare build host
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: install prerequisites
run: |
set -euxo pipefail
sudo apt update -qq && sudo apt install -yqq \
curl \
jq \
squashfs-tools \
xz-utils \
gawk
- name: build release artifacts
run: |
pushd bakery
REPO=${{ github.repository }} ./release_build.sh
- name: create a new latest release with some artifacts
uses: softprops/action-gh-release@v2
with:
make_latest: true
body_path: bakery/Release.md
files: |
bakery/SHA256SUMS
bakery/!(kubernetes|crio|ollama)*.raw
bakery/*.conf
- name: upload kubernetes x86-64 artifacts
uses: softprops/action-gh-release@v2
with:
files: |
bakery/kubernetes*-x86-64.raw
- name: upload kubernetes arm64 artifacts
uses: softprops/action-gh-release@v2
with:
files: |
bakery/kubernetes*-arm64.raw
- name: upload crio artifacts
uses: softprops/action-gh-release@v2
with:
files: |
bakery/crio*.raw
- name: upload ollama artifacts
uses: softprops/action-gh-release@v2
with:
files: |
bakery/ollama*.raw