chore(ci): Updated isogenerator version #10
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 Bazzite ISOs | |
on: | |
workflow_dispatch: | |
push: | |
env: | |
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build-iso: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
container: | |
image: fedora:${{ matrix.major_version }} | |
options: "--privileged" | |
volumes: | |
- "/:/host" | |
strategy: | |
fail-fast: false | |
matrix: | |
image_name: [bazzite, bazzite-nvidia, bazzite-gnome, bazzite-gnome-nvidia, bazzite-deck, bazzite-deck-gnome, bazzite-ally, bazzite-ally-gnome, bazzite-asus, bazzite-gnome-asus, bazzite-asus-nvidia, bazzite-gnome-asus-nvidia] | |
major_version: [39] | |
image_tag: [stable] | |
steps: | |
- name: Build ISOs | |
#if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch | |
uses: ublue-os/[email protected] | |
with: | |
ARCH: x86_64 | |
IMAGE_NAME: ${{ matrix.image_name }} | |
IMAGE_REPO: ghcr.io/ublue-os | |
VARIANT: 'Kinoite' | |
VERSION: ${{ matrix.major_version }} | |
IMAGE_TAG: ${{ matrix.image_tag }} | |
ACTION_REPO: ublue-os/isogenerator | |
ACTION_REF: 1.0.3 | |
- name: Upload ISOs to R2 | |
shell: bash | |
run: | | |
export RCLONE_CONFIG_R2_TYPE=s3 | |
export RCLONE_CONFIG_R2_PROVIDER=Cloudflare | |
export RCLONE_CONFIG_R2_ACCESS_KEY_ID=${{ secrets.R2_ACCESS_KEY_ID }} | |
export RCLONE_CONFIG_R2_SECRET_ACCESS_KEY=${{ secrets.R2_SECRET_ACCESS_KEY }} | |
export RCLONE_CONFIG_R2_REGION=auto | |
export RCLONE_CONFIG_R2_ENDPOINT=${{ secrets.R2_ENDPOINT }} | |
dnf install -y rclone | |
rclone copy ./end_iso R2:bazzite | |
# - name: Upload ISOs to R2 | |
# uses: ryand56/r2-upload-action@latest | |
# with: | |
# r2-account-id: ${{ secrets.R2_ACCOUNT_ID }} | |
# r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }} | |
# r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }} | |
# r2-bucket: ${{ secrets.R2_BUCKET }} | |
# source-dir: ./end_iso | |
# destination-dir: ./ |