Skip to content

Merge pull request #89 from flatcar/kai/wasmtime-bump #50

Merge pull request #89 from flatcar/kai/wasmtime-bump

Merge pull request #89 from flatcar/kai/wasmtime-bump #50

Workflow file for this run

name: Build and release Systemd sysext images
on:
push:
tags:
- 'latest'
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
./release_build.sh
- name: delete previous latest release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
pushd bakery
gh release delete latest --cleanup-tag
- name: create a new latest release with all artifacts
uses: softprops/action-gh-release@v1
with:
body_path: bakery/Release.md
files: |
bakery/SHA256SUMS
bakery/*.raw
bakery/*.conf