feat: additional tag added to build.sh + latest tag added on new releases (#2399)

## Description:

Added the possibility to have an additional docker version tag in the
`build.sh` script
Added `latest` as an additional version tag when building and publishing
a docker image for a new release

The conditional in the github action is taken as is from the original
docs example:

https://docs.github.com/en/actions/reference/workflows-and-actions/expressions#example

The conditional bash expression has been tested locally with mock data
using a partial `test.sh` script containing only the affected lines and
necessary variables for testing without the `--push` option. I confirm
that the produced result is as expected with or without the new option
provided

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced

## Please put your Discord username so you can be contacted if a bug or
regression is found:

[fedot_compot](https://discord.com/users/298153303341137922)
This commit is contained in:
FedotCompot
2025-11-08 00:31:28 +01:00
committed by GitHub
parent 75ca7b1b1e
commit 3762b16009
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -28,6 +28,7 @@ jobs:
RELEASE_BODY: ${{ github.event.release.body }}
RELEASE_NAME: ${{ github.event.release.name }}
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
ADDITIONAL_VERSION_TAG: ${{ github.event.action == 'published' && 'latest' || '' }}
run: |
set -euxo pipefail
cat <<EOF >> $GITHUB_STEP_SUMMARY