Commit 5e8966a 1 parent 74559cb commit 5e8966a Copy full SHA for 5e8966a
File tree 4 files changed +44
-4
lines changed
4 files changed +44
-4
lines changed Original file line number Diff line number Diff line change 1
- * @ xynydev @ fiftydinar
1
+ * @ ledif
Original file line number Diff line number Diff line change
1
+ name : generate-iso
2
+ on :
3
+ schedule :
4
+ - cron :
5
+ " 00 10 * * 1" # build at 10:00 UTC every Monday
6
+
7
+ jobs :
8
+ iso :
9
+ name : Create and Upload ISO
10
+ runs-on : ubuntu-latest
11
+ - name : Build ISO
12
+ uses : jasonn3/build-container-installer@main
13
+ id : iso
14
+ with :
15
+ arch : x86_64
16
+ image_name : blue95
17
+ image_repo : ghcr.io/ledif
18
+ image_tag : latest
19
+ version : 41
20
+ variant : xfce
21
+ iso_name : blue95-latest-41.iso
22
+
23
+ - name : Upload ISOs and Checksum to R2
24
+ if : github.ref_name == 'main'
25
+ shell : bash
26
+ env :
27
+ RCLONE_CONFIG_R2_TYPE : s3
28
+ RCLONE_CONFIG_R2_PROVIDER : Cloudflare
29
+ RCLONE_CONFIG_R2_ACCESS_KEY_ID : ${{ secrets.R2_ACCESS_KEY_ID }}
30
+ RCLONE_CONFIG_R2_SECRET_ACCESS_KEY : ${{ secrets.R2_SECRET_ACCESS_KEY }}
31
+ RCLONE_CONFIG_R2_REGION : auto
32
+ RCLONE_CONFIG_R2_ENDPOINT : ${{ secrets.R2_ENDPOINT }}
33
+ SOURCE_DIR : ${{ steps.upload-directory.outputs.iso-upload-dir }}
34
+ run : |
35
+ sudo apt-get update
36
+ sudo apt-get install -y rclone
37
+ rclone copyto ${{ steps.build.outputs.iso_path }} R2:ublue-ledif
38
+ rclone copyto ${{ steps.build.outputs.iso_path }}-CHECKSUM R2:ublue-ledif
Original file line number Diff line number Diff line change @@ -2,3 +2,5 @@ cosign.key
2
2
cosign.private
3
3
/Containerfile
4
4
* swp
5
+ * .iso
6
+ * .iso-CHECKSUM
Original file line number Diff line number Diff line change 1
1
test-local :
2
- #!/ bin/ bash
3
- set -xeuo pipefail
4
-
5
2
bluebuild rebase --tempdir / var/ tmp recipes/ recipe.yml
3
+
4
+ generate-iso :
5
+ sudo bluebuild generate-iso --iso-name blue95 -latest.iso image ghcr.io/ ledif/ blue95 :latest
You can’t perform that action at this time.
0 commit comments