forked from ublue-os/bluefin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pull] main from ublue-os:main (#24)
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com> Co-authored-by: Jorge O. Castro <jorge.castro@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Noel Miller <4983138+noelmiller@users.noreply.github.com> Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
- Loading branch information
1 parent
68b658f
commit 9ef4d9a
Showing
8 changed files
with
252 additions
and
65 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Thank you for contributing to the Universal Blue project! | ||
|
||
Please [read the Contributor's Guide](https://universal-blue.org/CONTRIBUTING/) before submitting a pull request. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Build Bluefin ISOs | ||
on: | ||
workflow_dispatch: | ||
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: [bluefin, bluefin-dx] | ||
major_version: [38, 39] | ||
image_tag: [latest,gts] | ||
exclude: | ||
- major_version: 38 | ||
image_tag: latest | ||
- major_version: 39 | ||
image_tag: gts | ||
steps: | ||
- name: Build ISOs | ||
#if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch | ||
uses: ublue-os/isogenerator@1.0.5 | ||
with: | ||
ARCH: x86_64 | ||
IMAGE_NAME: ${{ matrix.image_name }} | ||
IMAGE_REPO: ghcr.io/ublue-os | ||
VARIANT: 'Silverblue' | ||
VERSION: ${{ matrix.major_version }} | ||
IMAGE_TAG: ${{ matrix.image_tag }} | ||
ACTION_REPO: ublue-os/isogenerator | ||
ACTION_REF: 1.0.5 | ||
- name: Upload ISOs and SHA Checksum Files 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:bluefin |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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