Comments (4)
We already documented the use of "Maximize build space" action as an option in build.yml.
https://blue-build.org/reference/github-action/#maximize_build_space-optional
Try to input the option in build.yml as outlined above, as it's different from ublue-os "Maximize build space" action.
We use this one:
https://github.com/jlumbroso/free-disk-space
from template.
I was looking at the code and found the solution
uses: jlumbroso/[email protected]
if: ${{ inputs.maximize_build_space == 'true' }}
Just a bit before I saw your reply.
It did build with my image with the ublue-os action.
Did the rebuild with free-disk-space and it resulted in : Saved 4.7GiB
Sorry my fault for not seeing it in the documentation.
I'd would have preferred the template to include all sane options with their default and commented out. It would make it more self explanatory.
Just pasting in case someone else search issues instead or reading the docs :)
- name: Build Custom Image
uses: blue-build/[email protected]
with:
recipe: ${{ matrix.recipe }}
cosign_private_key: ${{ secrets.SIGNING_SECRET }}
registry_token: ${{ github.token }}
pr_event_number: ${{ github.event.number }}
#use_unstable_cli: false # this action pulls the main branch of blue-build/cli instead of the stable version
maximize_build_space: true # run the unwanted software remover to maximize build space
squash: true
Thanks for your great work !
from template.
The reason why we don't include "Maximize Build Space" by default is that it's not required for all images, while it increases the time of image building.
But commenting out the additional options in template & explaining them might be a good idea.
Will see if @xynydev also agrees.
from template.
Yes, that's a good idea especially for a common usecase like this. I'll reopen the issue so we get it done eventually.
from template.
Related Issues (20)
- chore: clean out repo
- fix: builds in template
- Should we remove 60-custom.just from the template? HOT 1
- feat: github action success card in readme
- is semantic.yml still relevant? HOT 2
- blue-build/github-actions version v1.0.1 is broken in the template HOT 1
- feat: start using actions-template-sync HOT 2
- feat: add some custom image topics to the repo, check if they propagate to users HOT 1
- chore: switch to pinning a major or minor version instead of a patch version HOT 3
- rpm-ostree and podman fali to load the generated image with ASN.1 signature errors HOT 3
- Cosign signing is failing HOT 2
- [ recipe.yml ] Firefox removal: Build failure warning for missing RPMs in upstream image HOT 6
- Build Custom Image failed due to "no space left on device" HOT 2
- Installation via custom ISO fails during deployment step HOT 2
- chore: finally remove the old ISO action HOT 2
- Error on rebasing to unsigned image HOT 1
- Gh OIDC keyless HOT 2
- PR GitHub action build: two builds intended? HOT 5
- `cryptographic signature verification failed` when pulling custom image (image already public) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from template.