Specify release tag for UBlue build

Does anyone here know how to build and deploy ublue with the testing tag instead of the latest tag? I tried
alt-tags
-testing
alt-tags
-testing
but it sets the tag of the image repo to be :$COMMIT-testing-$VERSION (:c109c8b-testing-40). Any help/link to the right docs would be appreciated. (I got the alt-tags line from this documentation: https://blue-build.org/reference/recipe/#alt-tags-optional) My repo is https://github.com/TKK13909/TKKOS and the recipe is at https://github.com/TKK13909/TKKOS/blob/testing/recipes/recipe.yml
GitHub
GitHub - TKK13909/TKKOS
Contribute to TKK13909/TKKOS development by creating an account on GitHub.
GitHub
TKKOS/recipes/recipe.yml at testing · TKK13909/TKKOS
Contribute to TKK13909/TKKOS development by creating an account on GitHub.
BlueBuild
recipe.yml
A recipe.yml file is used to configure a custom image.
Solution:
If you set alt-tags: to testing, then it should push an image with the tags testing, testing-$VERSION, $TIMESTAMP-testing-$VERSION, and $COMMIT_SHA-testing-$VERSION when built on your main branch
Jump to solution
8 Replies
Luke Skywunker
That should produce more than the commit tag on the main branch. There are other rules in place if you're building from another branch or a PR Here are the different test cases for the various pipelines that can be run https://github.com/blue-build/cli/blob/main/process/drivers/github_driver.rs#L217-L271
GitHub
cli/process/drivers/github_driver.rs at main · blue-build/cli
BlueBuild's command line program that builds custom Fedora Atomic images based on your recipe.yml - blue-build/cli
Luke Skywunker
So are you trying to build from a testing branch?
Solution
Luke Skywunker
If you set alt-tags: to testing, then it should push an image with the tags testing, testing-$VERSION, $TIMESTAMP-testing-$VERSION, and $COMMIT_SHA-testing-$VERSION when built on your main branch
Luke Skywunker
When building from a branch that isn't main, the tags will be br-$BRANCH_REF-testing-$VERSION and $COMMIT_SHA-testing-$VERSION
TKK13909
TKK139092w ago
thank you :) how do i set this as solved now?
Luke Skywunker
Added an issue to print the pushed images at the end of the log https://github.com/blue-build/cli/issues/223
GitHub
feat: Display list of images that were pushed at the end of the log...
This would be similar to how Earthly displays the images that were pushed. This would make it easier to know what images were built without having to scroll back in the logs to see.
Luke Skywunker
You can right-click on the message that you want to be marked as a solution and go to Apps and select Mark Solution
TKK13909
TKK139092w ago
ah ok
Want results from more Discord servers?
Add your server