mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:50:42 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user