mirror of
https://github.com/thomisus/Docker-DocumentServer.git
synced 2026-04-29 20:10:12 +00:00
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:
parent
d50eda45dd
commit
39b82a3c9a
2 changed files with 7 additions and 1 deletions
6
.github/workflows/stable-build.yml
vendored
6
.github/workflows/stable-build.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue