mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Ship OpenCoDE variant to Dockerhub (#26399)
This commit is contained in:
parent
61cfe56774
commit
019a7cc02d
5 changed files with 30 additions and 0 deletions
14
.github/workflows/dockerhub.yaml
vendored
14
.github/workflows/dockerhub.yaml
vendored
|
@ -12,11 +12,24 @@ jobs:
|
|||
name: Docker Buildx
|
||||
runs-on: ubuntu-latest
|
||||
environment: dockerhub
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- variant: vanilla
|
||||
# Variant we ship to aid ESS in providing a build on the OpenCoDE platform including specific modules
|
||||
- variant: opendesk
|
||||
flavor: suffix=-opendesk,onlatest=true
|
||||
prepare: mv variants/openDesk/* .
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # needed for docker-package to be able to calculate the version
|
||||
|
||||
- name: Prepare
|
||||
if: matrix.prepare
|
||||
run: ${{ matrix.prepare }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3
|
||||
|
||||
|
@ -42,6 +55,7 @@ jobs:
|
|||
type=ref,event=tag
|
||||
flavor: |
|
||||
latest=${{ contains(github.ref_name, '-rc.') && 'false' || 'auto' }}
|
||||
${{ matrix.flavor }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5
|
||||
|
|
1
variants/openDesk/README.md
Normal file
1
variants/openDesk/README.md
Normal file
|
@ -0,0 +1 @@
|
|||
https://gitlab.opencode.de/bmi/souveraener_arbeitsplatz
|
10
variants/openDesk/build_config.yaml
Normal file
10
variants/openDesk/build_config.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
---
|
||||
# The modules to install. See ./docs/modules.md for more information on
|
||||
# what modules are.
|
||||
#
|
||||
# The values of this are provided to `yarn add` for inclusion.
|
||||
modules:
|
||||
- "@nordeck/element-web-guest-module@1.0.0"
|
||||
- "@nordeck/element-web-widget-lifecycle-module@1.0.1"
|
3
variants/openDesk/customisations.json
Normal file
3
variants/openDesk/customisations.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"src/customisations/ComponentVisibility.ts": "node_modules/@nordeck/element-web-guest-module/customisations/ComponentVisibility.ts"
|
||||
}
|
2
variants/openDesk/customisations.json.license
Normal file
2
variants/openDesk/customisations.json.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
|
||||
# SPDX-License-Identifier: Apache-2.0
|
Loading…
Reference in a new issue