Skip to content

fix(teleport): better parameters #13

fix(teleport): better parameters

fix(teleport): better parameters #13

Workflow file for this run

name: Build and release Systemd sysext images
on:
push:
tags:
- '*'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
permissions:
# allow the action to create a release
contents: write
steps:
# checkout the sources
- uses: actions/checkout@v3
# build the images and generate a manifest
- name: build
run: |
set -euo pipefail
sudo apt update -qq && sudo apt install -yqq \
curl \
jq \
squashfs-tools \
xz-utils
images=(
"teleport-9.3.26"
"teleport-10.3.16"
"teleport-11.3.22"
)
for image in ${images[@]}; do
component="${image%-*}"
version="${image#*-}"
"./create_${component}_sysext.sh" "${version}" "${component}"
mv "${component}.raw" "${image}.raw"
done
sha256sum *.raw > SHA256SUMS
# create a Github release with the generated artifacts
- name: release
uses: softprops/action-gh-release@v1
with:
files: |
SHA256SUMS
*.raw