Skip to content

Commit

Permalink
chore: upload to Cloudflare on workflow_dispatch (#323)
Browse files Browse the repository at this point in the history
* chore: upload to Cloudflare in workflow_dispatch and PR

* fix: use temporary branch

* fix: inherit secrets

* fix: add R2 bucket name

* chore: move secrets: inherit to before matrix

* chore: move secrets:inherit back

* chore: finalize config
  • Loading branch information
p5 authored Nov 2, 2024
1 parent ac05ba5 commit 44df195
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ on:
# Every week at midnight on Monday
- cron: "0 0 * * 1"
workflow_dispatch:
inputs:
upload-to-cloudflare:
description: "Upload to Cloudflare"
required: false
default: false
type: boolean

concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}-iso
Expand All @@ -23,17 +29,16 @@ concurrency:
jobs:
build-lumina:
uses: rsturla/eternal-main/.github/workflows/_build-iso.yml@main
secrets: inherit
strategy:
fail-fast: false
matrix:
image-name:
- lumina
- lumina-cosmic
- cosmic
image-tag:
- stable
- stable-nvidia
- 41
- 41-nvidia
with:
image-name: ${{ matrix.image-name }}
image-registry: ghcr.io/rsturla/eternal-linux
Expand All @@ -42,3 +47,5 @@ jobs:
lumina/flatpaks/base
lumina/flatpaks/${{ matrix.image-name }}
installer-version: 41
upload-to-cloudflare: ${{ github.event.inputs.upload-to-cloudflare }}
r2-bucket: ${{ vars.R2_BUCKET_NAME }}
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ A collection of Immutable Linux Desktop images from the Eternal Linux project.

### Lumina

<!-- Table with an overview. Columns should be Desktop Environment | Intended Usage | Description | Is Stable -->

| Desktop Environment | Intended Usage | Description | Is Stable | ISOs |
| ------------------- | -------------- | ----------- | --------- | --- |
| GNOME | DevOps | A desktop optimised for DevOps | Yes | [Regular](https://download.eternal.sturla.tech/lumina/lumina-stable-x86_64.iso) / [NVIDIA](https://download.eternal.sturla.tech/lumina/lumina-stable-nvidia-x86_64.iso) |
| COSMIC | DevOps | A desktop optimised for DevOps | Yes | [Regular](https://download.eternal.sturla.tech/lumina/lumina-cosmic-stable-x86_64.iso) / [NVIDIA](https://download.eternal.sturla.tech/lumina/lumina-cosmic-stable-nvidia-x86_64.iso) |
| GNOME | DevOps | A desktop optimised for DevOps | Yes | [Regular](https://download.eternal.sturla.tech/lumina-stable-x86_64.iso) / [NVIDIA](https://download.eternal.sturla.tech/lumina-stable-nvidia-x86_64.iso) |
| COSMIC | DevOps | A desktop optimised for DevOps | Yes | [Regular](https://download.eternal.sturla.tech/lumina-cosmic-stable-x86_64.iso) / [NVIDIA](https://download.eternal.sturla.tech/lumina-cosmic-stable-nvidia-x86_64.iso) |

![Lumina Desktop](./_assets/lumina-desktop.png)
> The Lumina GNOME Desktop Environment featuring Distrobox and VSCode
Expand Down

0 comments on commit 44df195

Please sign in to comment.