https://blue-build.org/ logo
Specify release tag for UBlue build
# questions
t
Does anyone here know how to build and deploy ublue with the
testing
tag instead of the
latest
tag? I tried
Copy code
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
g
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
So are you trying to build from a
testing
branch?
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
When building from a branch that isn't main, the tags will be
br-$BRANCH_REF-testing-$VERSION
and
$COMMIT_SHA-testing-$VERSION
t
thank you :)
how do i set this as solved now?
g
Added an issue to print the pushed images at the end of the log https://github.com/blue-build/cli/issues/223
You can right-click on the message that you want to be marked as a solution and go to
Apps
and select
Mark Solution
t
ah ok