Allow Bitwarden lite to be built before release (#434)

This commit is contained in:
Vince Grassia
2025-12-03 13:13:46 -05:00
committed by GitHub
parent 91c4dba13d
commit 799dcf894f
2 changed files with 35 additions and 1 deletions

View File

@@ -23,6 +23,24 @@ on:
description: "Use the latest web version from version.json instead of branch"
type: boolean
default: false
workflow_call:
inputs:
server_branch:
description: "Server branch name (examples: 'main', 'rc', 'feature/sm')"
type: string
default: main
web_branch:
description: "Web client branch name (examples: 'main', 'rc', 'feature/sm')"
type: string
default: main
use_latest_core_version:
description: "Use the latest core version from version.json instead of branch"
type: boolean
default: false
use_latest_web_version:
description: "Use the latest web version from version.json instead of branch"
type: boolean
default: false
pull_request:
paths:
- ".github/workflows/build-bitwarden-lite.yml"

View File

@@ -403,11 +403,27 @@ jobs:
uses: bitwarden/gh-actions/azure-logout@main
build-lite-image:
name: Build Bitwarden lite image
uses: ./.github/workflows/build-bitwarden-lite.yml
needs: update-versions
permissions:
id-token: write
packages: write
security-events: write
with:
use_latest_core_version: true
use_latest_web_version: true
secrets: inherit
release-bitwarden-lite:
name: Release Bitwarden lite
runs-on: ubuntu-24.04
timeout-minutes: 30
needs: update-versions
needs:
- update-versions
- build-lite-image
env:
_CORE_VERSION: ${{ needs.update-versions.outputs.core_release_tag }}
permissions: