Skip to content

Commit

Permalink
Ship OpenCoDE variant to Dockerhub
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Oct 18, 2023
1 parent bfb071f commit 9537e5f
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,24 @@ jobs:
name: Docker Buildx
runs-on: ubuntu-latest
environment: dockerhub
strategy:
fail-fast: false
matrix:
include:
- variant: vanilla
image: vectorim/element-web
- variant: opencode
image: vectorim/element-web-opencode
prepare: mv variants/OpenCoDE/* .
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

Expand All @@ -36,7 +49,7 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5
with:
images: |
vectorim/element-web
${{ matrix.image }}
tags: |
type=ref,event=branch
type=ref,event=tag
Expand Down
10 changes: 10 additions & 0 deletions variants/OpenCoDE/build_config.yaml
Original file line number Diff line number Diff line change
@@ -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/[email protected]"
- "@nordeck/[email protected]"
3 changes: 3 additions & 0 deletions variants/OpenCoDE/customisations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"src/customisations/ComponentVisibility.ts": "node_modules/@nordeck/element-web-guest-module/customisations/ComponentVisibility.ts"
}
2 changes: 2 additions & 0 deletions variants/OpenCoDE/customisations.json.license
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9537e5f

Please sign in to comment.