Compare commits

..

15 Commits

Author SHA1 Message Date
fiftydinar
fa30038613
chore: Recommend the usage of /etc/ instead of /usr/etc/ (#38)
Some checks failed
bluebuild / Build Custom Image (recipe.yml) (push) Has been cancelled
* chore: Recommend the usage of `/etc/` instead of `/usr/etc/`

Related PR:
https://github.com/blue-build/modules/pull/315

* docs: Remove mention of putting files to `/usr/etc/` in recipe
2024-08-11 17:08:10 +00:00
xyny
e976138a77
chore: remove "build-ublue" alt text from build badge 2024-08-11 09:29:02 +00:00
fiftydinar
670f83cce1
chore: Migrate from config/ to files/ & use new files module recipe format (#36) 2024-07-21 19:21:52 +00:00
xyny
a6881a3a2b docs: add commented out maximize_build_space: true to build.yml (#33) 2024-06-30 13:48:50 +03:00
Lordus Kordus
8931463cba
chore: Adjust build time to reflect uBlue changes (#34)
Universal Blue images have new build schedules. The last image to build is Bluefin (39) at 05:41 UTC

Template's build time should be set to 06:00 UTC
2024-06-24 10:11:43 +00:00
fiftydinar
b8fe3fd6c2
Merge pull request #31 from blue-build/dependabot/github_actions/blue-build/github-action-1.6 2024-06-03 06:02:24 +02:00
dependabot[bot]
5034bddeb3
chore(deps): bump blue-build/github-action from 1.5 to 1.6
Bumps [blue-build/github-action](https://github.com/blue-build/github-action) from 1.5 to 1.6.
- [Release notes](https://github.com/blue-build/github-action/releases)
- [Changelog](https://github.com/blue-build/github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/blue-build/github-action/compare/v1.5...v1.6)

---
updated-dependencies:
- dependency-name: blue-build/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 01:39:32 +00:00
Marcin Jahn
4f99ccfa06
fix: Use Fedora 40 as image-version (#30) 2024-05-09 15:36:35 +00:00
xyny
6176298bf4
chore: use action v1.5 2024-05-02 08:28:40 +00:00
Gerald Pinder
32ef7f19be
Merge pull request #27 from blue-build/new-recipe-location
chore: Move recipe.yml into ./recipes to support proper caching
2024-05-01 16:24:51 -04:00
Gerald Pinder
f351ea1a01 Use action 1.4 2024-04-26 15:58:50 -04:00
Gerald Pinder
ce8234f746 Revert changes 2024-04-24 21:16:45 -04:00
Gerald Pinder
236561ed28 Test caching 2024-04-24 21:10:39 -04:00
Gerald Pinder
93ef12154c Test against PR changes 2024-04-24 20:50:10 -04:00
Gerald Pinder
e0a7a9ac09 chore: Move recipe.yml into ./recipes to support proper caching 2024-04-24 20:47:16 -04:00
6 changed files with 10 additions and 7 deletions

View File

@ -1,7 +1,7 @@
name: bluebuild name: bluebuild
on: on:
schedule: schedule:
- cron: "00 17 * * *" # build at 17:00 UTC every day - cron: "00 06 * * *" # build at 06:00 UTC every day
# (20 minutes after last ublue images start building) # (20 minutes after last ublue images start building)
push: push:
paths-ignore: # don't rebuild if only documentation has changed paths-ignore: # don't rebuild if only documentation has changed
@ -26,9 +26,12 @@ jobs:
steps: steps:
# the build is fully handled by the reusable github action # the build is fully handled by the reusable github action
- name: Build Custom Image - name: Build Custom Image
uses: blue-build/github-action@v1.3 uses: blue-build/github-action@v1.6
with: with:
recipe: ${{ matrix.recipe }} recipe: ${{ matrix.recipe }}
cosign_private_key: ${{ secrets.SIGNING_SECRET }} cosign_private_key: ${{ secrets.SIGNING_SECRET }}
registry_token: ${{ github.token }} registry_token: ${{ github.token }}
pr_event_number: ${{ github.event.number }} pr_event_number: ${{ github.event.number }}
# enabled by default, disable if your image is small and you want faster builds
maximize_build_space: true

View File

@ -1,4 +1,4 @@
# BlueBuild Template &nbsp; [![build-ublue](https://github.com/blue-build/template/actions/workflows/build.yml/badge.svg)](https://github.com/blue-build/template/actions/workflows/build.yml) # BlueBuild Template &nbsp; [![bluebuild build badge](https://github.com/blue-build/template/actions/workflows/build.yml/badge.svg)](https://github.com/blue-build/template/actions/workflows/build.yml)
See the [BlueBuild docs](https://blue-build.org/how-to/setup/) for quick setup instructions for setting up your own repository based on this template. See the [BlueBuild docs](https://blue-build.org/how-to/setup/) for quick setup instructions for setting up your own repository based on this template.

View File

@ -0,0 +1 @@

View File

@ -5,16 +5,15 @@ description: This is my personal OS image.
# the base image to build on top of (FROM) and the version tag to use # the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/silverblue-main base-image: ghcr.io/ublue-os/silverblue-main
image-version: 39 # latest is also supported if you want new updates ASAP image-version: 40 # latest is also supported if you want new updates ASAP
# module configuration, executed in order # module configuration, executed in order
# you can include multiple instances of the same module # you can include multiple instances of the same module
modules: modules:
- type: files - type: files
files: files:
- usr: /usr # copies config/files/usr into your image's /usr. - source: system
# put configuration files you want in /etc/ on a booted system destination: / # copies files/system/* (* means everything inside it) into your image's root folder /
# in /usr/etc/ in the image. read more in files module reference.
- type: rpm-ostree - type: rpm-ostree
repos: repos: