This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
Change to scudo #20
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: ISO | |
on: | |
workflow_dispatch: | |
push: | |
schedule: | |
- cron: '0 1 1 3,6,9,12 *' | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get current date | |
id: date | |
run: | | |
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | |
- name: Prepare | |
run: mkdir output | |
- name: Build 9 | |
run: | | |
sudo podman build -t localhost/9 iso/9 | |
sudo podman run --privileged -v "$(pwd)/output":/output localhost/9 | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ steps.date.outputs.date }} | |
name: Build on ${{ steps.date.outputs.date }} | |
files: | | |
output/*.iso |