Docker compose update #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
./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 |