Browse Source

Allow Bitwarden lite to be built before release

pull/434/head
Vince Grassia 2 weeks ago
parent
commit
fa0178f065
No known key found for this signature in database
GPG Key ID: 9AD7505E8448CC08
  1. 18
      .github/workflows/build-bitwarden-lite.yml
  2. 18
      .github/workflows/release.yml

18
.github/workflows/build-bitwarden-lite.yml

@ -23,6 +23,24 @@ on: @@ -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"

18
.github/workflows/release.yml

@ -403,11 +403,27 @@ jobs: @@ -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:

Loading…
Cancel
Save