build: add conditional tagging for latest in stable-build workflow

- Introduced  input in the GitHub Actions workflow with a default value of . - Passed the  input as an environment variable () to the workflow. - Updated  to conditionally add the  Docker tag based on  value.
This commit is contained in:
danilapog 2025-04-24 14:17:08 +03:00
parent d50eda45dd
commit 39b82a3c9a
2 changed files with 7 additions and 1 deletions

View file

@ -14,12 +14,18 @@ on:
type: string
required: true
default: '1'
latest:
description: 'Push latest tag?'
type: boolean
required: true
default: true
env:
COMPANY_NAME: "onlyoffice"
PRODUCT_NAME: "documentserver"
VERSION: ${{ github.event.inputs.tag }}
RELEASE_NUMBER: ${{ github.event.inputs.release_number }}
LATEST: ${{ github.event.inputs.latest }}
jobs:
build: