Skip to content
This repository was archived by the owner on Feb 14, 2026. It is now read-only.

Commit 73d1e29

Browse files
committed
Merge tag 'v1.11.29' into sc
* Ship linux tarball with static sqlcipher ([\element-hq#597](element-hq#597)). Fixes element-hq/element-web#18486. * Show recent room breadcrumbs on touchbar ([\element-hq#183](element-hq#183)). Fixes element-hq/element-web#15998. * Clear electron data when logging out ([\element-hq#578](element-hq#578)). * Send Electron crashpad reports to Sentry from Nightly ([\element-hq#579](element-hq#579)). Fixes element-hq/element-web#18263. * Recommend element-io-archive-keyring from our Debian package ([\element-hq#566](element-hq#566)). * Allow desktop app to expose recent rooms in UI integrations ([\#16940](element-hq/element-web#16940)). * Add API params to mute audio and/or video in Jitsi calls by default ([\#24820](element-hq/element-web#24820)). Contributed by @dhenneke. * Style mentions as pills in rich text editor ([\#10448](matrix-org/matrix-react-sdk#10448)). Contributed by @alunturner. * Show room create icon if "UIComponent.roomCreation" is enabled ([\#10364](matrix-org/matrix-react-sdk#10364)). Contributed by @maheichyk. * Mentions as links rte ([\#10463](matrix-org/matrix-react-sdk#10463)). Contributed by @alunturner. * Better error handling in jump to date ([\#10405](matrix-org/matrix-react-sdk#10405)). Contributed by @MadLittleMods. * Show "Invite" menu option if "UIComponent.sendInvites" is enabled. ([\#10363](matrix-org/matrix-react-sdk#10363)). Contributed by @maheichyk. * Added `UserProfilesStore`, `LruCache` and user permalink profile caching ([\#10425](matrix-org/matrix-react-sdk#10425)). Fixes element-hq/element-web#10559. * Mentions as links rte ([\#10422](matrix-org/matrix-react-sdk#10422)). Contributed by @alunturner. * Implement MSC3952: intentional mentions ([\#9983](matrix-org/matrix-react-sdk#9983)). * Implement MSC3973: Search users in the user directory with the Widget API ([\#10269](matrix-org/matrix-react-sdk#10269)). Contributed by @dhenneke. * Permalinks to message are now displayed as pills ([\#10392](matrix-org/matrix-react-sdk#10392)). Fixes element-hq/element-web#24751 and element-hq/element-web#24706. * Show search,dial,explore in filterContainer if "UIComponent.filterContainer" is enabled ([\#10381](matrix-org/matrix-react-sdk#10381)). Contributed by @maheichyk. * Increase space panel collapse clickable area ([\#6084](matrix-org/matrix-react-sdk#6084)). Fixes element-hq/element-web#17379. Contributed by @jaiwanth-v. * Add fallback for replies to Polls ([\#10380](matrix-org/matrix-react-sdk#10380)). Fixes element-hq/element-web#24197. Contributed by @kerryarchibald. * Permalinks to rooms and users are now pillified ([\#10388](matrix-org/matrix-react-sdk#10388)). Fixes element-hq/element-web#24825. * Poll history - access poll history from room settings ([\#10356](matrix-org/matrix-react-sdk#10356)). Contributed by @kerryarchibald. * Add API params to mute audio and/or video in Jitsi calls by default ([\#10376](matrix-org/matrix-react-sdk#10376)). Contributed by @dhenneke. * Notifications: inline error message on notifications saving error ([\#10288](matrix-org/matrix-react-sdk#10288)). Contributed by @kerryarchibald. * Support dynamic room predecessor in SpaceProvider ([\#10348](matrix-org/matrix-react-sdk#10348)). Contributed by @andybalaam. * Support dynamic room predecessors for RoomProvider ([\#10346](matrix-org/matrix-react-sdk#10346)). Contributed by @andybalaam. * Support dynamic room predecessors in OwnBeaconStore ([\#10339](matrix-org/matrix-react-sdk#10339)). Contributed by @andybalaam. * Support dynamic room predecessors in ForwardDialog ([\#10344](matrix-org/matrix-react-sdk#10344)). Contributed by @andybalaam. * Support dynamic room predecessors in SpaceHierarchy ([\#10341](matrix-org/matrix-react-sdk#10341)). Contributed by @andybalaam. * Support dynamic room predecessors in AddExistingToSpaceDialog ([\#10342](matrix-org/matrix-react-sdk#10342)). Contributed by @andybalaam. * Support dynamic room predecessors in leave-behaviour ([\#10340](matrix-org/matrix-react-sdk#10340)). Contributed by @andybalaam. * Support dynamic room predecessors in StopGapWidgetDriver ([\#10338](matrix-org/matrix-react-sdk#10338)). Contributed by @andybalaam. * Support dynamic room predecessors in WidgetLayoutStore ([\#10326](matrix-org/matrix-react-sdk#10326)). Contributed by @andybalaam. * Support dynamic room predecessors in SpaceStore ([\#10332](matrix-org/matrix-react-sdk#10332)). Contributed by @andybalaam. * Sync polls push rules on changes to account_data ([\#10287](matrix-org/matrix-react-sdk#10287)). Contributed by @kerryarchibald. * Support dynamic room predecessors in BreadcrumbsStore ([\#10295](matrix-org/matrix-react-sdk#10295)). Contributed by @andybalaam. * Improved a11y for Field feedback and Secure Phrase input ([\#10320](matrix-org/matrix-react-sdk#10320)). Contributed by @Sebbones. * Support dynamic room predecessors in RoomNotificationStateStore ([\#10297](matrix-org/matrix-react-sdk#10297)). Contributed by @andybalaam. * Run build_linux in docker using an older glibc ([\element-hq#599](element-hq#599)). Fixes element-hq/element-web#24981. * Use a newly generated access_token while joining Jitsi ([\#24646](element-hq/element-web#24646)). Fixes element-hq/element-web#24687. Contributed by @emrahcom. * Fix cloudflare action pointing at commit hash instead of tag ([\#24777](element-hq/element-web#24777)). Contributed by @justjanne. * Allow editing with RTE to overflow for autocomplete visibility ([\#10499](matrix-org/matrix-react-sdk#10499)). Contributed by @alunturner. * Added auto focus to Github URL on opening of debug logs modal ([\#10479](matrix-org/matrix-react-sdk#10479)). Contributed by @ShivamSpm. * Fix detection of encryption for all users in a room ([\#10487](matrix-org/matrix-react-sdk#10487)). Fixes element-hq/element-web#24995. * Properly generate mentions when editing a reply with MSC3952 ([\#10486](matrix-org/matrix-react-sdk#10486)). Fixes element-hq/element-web#24924. Contributed by @kerryarchibald. * Improve performance of rendering a room with many hidden events ([\#10131](matrix-org/matrix-react-sdk#10131)). Contributed by @andybalaam. * Prevent future date selection in jump to date ([\#10419](matrix-org/matrix-react-sdk#10419)). Fixes element-hq/element-web#20800. Contributed by @MadLittleMods. * Add aria labels to message search bar to improve accessibility ([\#10476](matrix-org/matrix-react-sdk#10476)). Fixes element-hq/element-web#24921. * Fix decryption failure bar covering the timeline ([\#10360](matrix-org/matrix-react-sdk#10360)). Fixes element-hq/element-web#24780 element-hq/element-web#24074 and element-hq/element-web#24183. Contributed by @luixxiul. * Improve profile picture settings accessibility ([\#10470](matrix-org/matrix-react-sdk#10470)). Fixes element-hq/element-web#24919. * Handle group call redaction ([\#10465](matrix-org/matrix-react-sdk#10465)). * Display relative timestamp for threads on the same calendar day ([\#10399](matrix-org/matrix-react-sdk#10399)). Fixes element-hq/element-web#24841. Contributed by @kerryarchibald. * Fix timeline list and paragraph display issues ([\#10424](matrix-org/matrix-react-sdk#10424)). Fixes element-hq/element-web#24602. Contributed by @alunturner. * Use unique keys for voice broadcast pips ([\#10457](matrix-org/matrix-react-sdk#10457)). Fixes element-hq/element-web#24959. * Fix "show read receipts sent by other users" not applying to threads ([\#10445](matrix-org/matrix-react-sdk#10445)). Fixes element-hq/element-web#24910. * Fix joining public rooms without aliases in search dialog ([\#10437](matrix-org/matrix-react-sdk#10437)). Fixes element-hq/element-web#23937. * Add input validation for `m.direct` in `DMRoomMap` ([\#10436](matrix-org/matrix-react-sdk#10436)). Fixes element-hq/element-web#24909. * Reduce height reserved for "collapse" button's line on IRC layout ([\#10211](matrix-org/matrix-react-sdk#10211)). Fixes element-hq/element-web#24605. Contributed by @luixxiul. * Fix `creatorUserId is required` error when opening sticker picker ([\#10423](matrix-org/matrix-react-sdk#10423)). * Fix block/inline Element descendants error noise in `NewRoomIntro.tsx` ([\#10412](matrix-org/matrix-react-sdk#10412)). Contributed by @MadLittleMods. * Fix profile resizer to make first character of a line selectable in IRC layout ([\#10396](matrix-org/matrix-react-sdk#10396)). Fixes element-hq/element-web#14764. Contributed by @luixxiul. * Ensure space between wrapped lines of room name on IRC layout ([\#10188](matrix-org/matrix-react-sdk#10188)). Fixes element-hq/element-web#24742. Contributed by @luixxiul. * Remove unreadable alt attribute from the room status bar warning icon (nonsense to screenreaders) ([\#10402](matrix-org/matrix-react-sdk#10402)). Contributed by @MadLittleMods. * Fix big date separators when jump to date is enabled ([\#10404](matrix-org/matrix-react-sdk#10404)). Fixes element-hq/element-web#22969. Contributed by @MadLittleMods. * Fixes user authentication when registering via the module API ([\#10257](matrix-org/matrix-react-sdk#10257)). Contributed by @maheichyk. * Handle more edge cases in Space Hierarchy ([\#10280](matrix-org/matrix-react-sdk#10280)). Contributed by @justjanne. * Further improve performance with lots of hidden events ([\#10353](matrix-org/matrix-react-sdk#10353)). Fixes element-hq/element-web#24480. Contributed by @andybalaam. * Respect user cancelling upload flow by dismissing spinner ([\#10373](matrix-org/matrix-react-sdk#10373)). Fixes element-hq/element-web#24667. * When starting a DM, the end-to-end encryption status icon does now only appear if the DM can be encrypted ([\#10394](matrix-org/matrix-react-sdk#10394)). Fixes element-hq/element-web#24397. * Fix `[object Object]` in feedback metadata ([\#10390](matrix-org/matrix-react-sdk#10390)). * Fix pinned messages card saying nothing pinned while loading ([\#10385](matrix-org/matrix-react-sdk#10385)). Fixes element-hq/element-web#24615. * Fix import e2e key dialog staying disabled after paste ([\#10375](matrix-org/matrix-react-sdk#10375)). Fixes element-hq/element-web#24818. * Show all labs even if incompatible, with appropriate tooltip explaining requirements ([\#10369](matrix-org/matrix-react-sdk#10369)). Fixes element-hq/element-web#24813. * Fix UIFeature.Registration not applying to all paths ([\#10371](matrix-org/matrix-react-sdk#10371)). Fixes element-hq/element-web#24814. * Clicking on a user pill does now only open the profile in the right panel and no longer navigates to the home view. ([\#10359](matrix-org/matrix-react-sdk#10359)). Fixes element-hq/element-web#24797. * Fix start DM with pending third party invite ([\#10347](matrix-org/matrix-react-sdk#10347)). Fixes element-hq/element-web#24781. * Fix long display name overflowing reply tile on IRC layout ([\#10343](matrix-org/matrix-react-sdk#10343)). Fixes element-hq/element-web#24738. Contributed by @luixxiul. * Display redacted body on ThreadView in the same way as normal messages ([\#9016](matrix-org/matrix-react-sdk#9016)). Fixes element-hq/element-web#24729. Contributed by @luixxiul. * Handle more edge cases in ACL updates ([\#10279](matrix-org/matrix-react-sdk#10279)). Contributed by @justjanne. * Allow parsing png files to fail if thumbnailing is successful ([\#10308](matrix-org/matrix-react-sdk#10308)).
2 parents a86e973 + bbaca44 commit 73d1e29

23 files changed

Lines changed: 460 additions & 403 deletions

.github/workflows/build_and_deploy.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,22 +90,37 @@ jobs:
9090
base-url: https://packages.element.io/${{ inputs.mode == 'release' && 'desktop' || 'nightly' }}
9191
version: ${{ needs.prepare.outputs.macos-version }}
9292

93+
# We do not put this call into deploy-mode as we do not want it to add to the packages.element.io artifact
94+
# We ship this build via reprepro only
9395
linux:
9496
if: github.event_name != 'workflow_dispatch' || inputs.linux
9597
needs: prepare
96-
name: Linux
98+
name: Linux (sqlcipher system)
9799
uses: ./.github/workflows/build_linux.yaml
98100
with:
99101
config: element.io/${{ inputs.mode || 'nightly' }}
100102
sqlcipher: system
101103
version: ${{ needs.prepare.outputs.linux-version }}
102104

103-
# This deploy job only handles Windows & macOS as those are stateless and static.
105+
# We ship the static build via static tarball only
106+
linux_static:
107+
if: github.event_name != 'workflow_dispatch' || inputs.linux
108+
needs: prepare
109+
name: Linux (sqlcipher static)
110+
uses: ./.github/workflows/build_linux.yaml
111+
with:
112+
deploy-mode: true
113+
config: element.io/${{ inputs.mode || 'nightly' }}
114+
sqlcipher: static
115+
version: ${{ needs.prepare.outputs.linux-version }}
116+
117+
# This deploy job only handles Windows, macOS & linux_static as those are stateless and static.
104118
# Linux will be deployed via reprepro after it, but we list it as a dependency to abort if it fails.
105119
deploy:
106120
needs:
107121
- macos
108122
- linux
123+
- linux_static
109124
- windows_32bit
110125
- windows_64bit
111126
runs-on: ubuntu-latest

.github/workflows/build_and_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
cache: "yarn"
8181

8282
- name: Install Deps
83-
run: "yarn install --pure-lockfile"
83+
run: "yarn install --frozen-lockfile"
8484

8585
- uses: actions/download-artifact@v3
8686
with:

.github/workflows/build_linux.yaml

Lines changed: 54 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ on:
1616
type: string
1717
required: true
1818
description: "How to link sqlcipher, one of 'system' | 'static'"
19+
deploy-mode:
20+
type: boolean
21+
required: false
22+
description: "Whether to arrange artifacts in the arrangement needed for deployment, skipping unrelated ones"
1923
jobs:
2024
build:
2125
runs-on: ubuntu-latest
2226
container:
23-
image: ghcr.io/vector-im/element-desktop-dockerbuild:t3chguy-dockerbuild
27+
image: ghcr.io/vector-im/element-desktop-dockerbuild:${{ github.ref_name == 'master' && 'master' || 'develop' }}
2428
defaults:
2529
run:
2630
shell: bash
@@ -35,7 +39,7 @@ jobs:
3539
id: cache
3640
uses: actions/cache@v3
3741
with:
38-
key: ${{ runner.os }}-${{ hashFiles('hakDependencies.json', 'electronVersion') }}
42+
key: ${{ runner.os }}-${{ inputs.sqlcipher }}-${{ hashFiles('hakDependencies.json', 'electronVersion') }}
3943
path: |
4044
./.hak
4145
@@ -48,7 +52,7 @@ jobs:
4852

4953
# Does not need branch matching as only analyses this layer
5054
- name: Install Deps
51-
run: "yarn install --pure-lockfile"
55+
run: "yarn install --frozen-lockfile"
5256

5357
- name: Build Natives
5458
if: steps.cache.outputs.cache-hit != 'true'
@@ -68,7 +72,7 @@ jobs:
6872
if [ -f changelog.Debian ]; then
6973
echo "config-args=--deb-changelog changelog.Debian" >> $GITHUB_OUTPUT
7074
fi
71-
75+
7276
cp "$DIR/control.template" debcontrol
7377
VERSION=${INPUT_VERSION:-$(cat package.json | jq -r .version)}
7478
echo "Version: $VERSION" >> debcontrol
@@ -78,12 +82,56 @@ jobs:
7882

7983
- name: Build App
8084
run: |
81-
npx ts-node scripts/generate-builder-config.ts ${{ steps.nightly.outputs.config-args }} --deb-custom-control=debcontrol
85+
npx ts-node scripts/generate-builder-config.ts \
86+
${{ steps.nightly.outputs.config-args }} \
87+
${{ steps.debian.outputs.config-args }} \
88+
--deb-custom-control=debcontrol
8289
yarn build --publish never -l --config electron-builder.json
8390
91+
- name: Check ldd
92+
run: |
93+
ldd dist/linux-unpacked/resources/app.asar.unpacked/node_modules/matrix-seshat/native/index.node
94+
if [ "$SQLCIPHER_STATIC" == "1" ]; then
95+
ldd dist/linux-unpacked/resources/app.asar.unpacked/node_modules/matrix-seshat/native/index.node | grep -v libsqlcipher.so.0
96+
ldd dist/linux-unpacked/resources/app.asar.unpacked/node_modules/matrix-seshat/native/index.node | grep libcrypto.so.1.1
97+
else
98+
ldd dist/linux-unpacked/resources/app.asar.unpacked/node_modules/matrix-seshat/native/index.node | grep libsqlcipher.so.0
99+
ldd dist/linux-unpacked/resources/app.asar.unpacked/node_modules/matrix-seshat/native/index.node | grep -v libcrypto.so.1.1
100+
fi
101+
env:
102+
SQLCIPHER_STATIC: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
103+
104+
- name: Stash deb package
105+
if: inputs.deploy-mode
106+
uses: actions/upload-artifact@v3
107+
with:
108+
name: linux-sqlcipher-${{ inputs.sqlcipher }}-deb
109+
path: dist/*.deb
110+
retention-days: 1
111+
112+
- name: Prepare artifacts for deployment
113+
if: inputs.deploy-mode
114+
run: |
115+
mv dist _dist
116+
mkdir -p "dist/install/linux/glibc-x86-64/"
117+
mv _dist/*.tar.gz "dist/install/linux/glibc-x86-64"
118+
119+
# We don't wish to store the tarball for every nightly ever, so we only keep the latest
120+
- name: "[Nightly] Strip version from tarball"
121+
if: inputs.deploy-mode && inputs.version != ''
122+
run: |
123+
mv dist/install/linux/glibc-x86-64/*.tar.gz "dist/install/linux/glibc-x86-64/element-desktop-nightly.tar.gz"
124+
125+
- name: "[Release] Prepare release latest symlink"
126+
if: inputs.deploy-mode && inputs.version == ''
127+
shell: bash
128+
run: |
129+
ln -s "$(find . -type f -iname "*.tar.gz" | xargs -0 -n1 -- basename)" "element-desktop.tar.gz"
130+
working-directory: "dist/install/linux/glibc-x86-64"
131+
84132
- name: Upload Artifacts
85133
uses: actions/upload-artifact@v3
86134
with:
87-
name: linux-sqlcipher-${{ inputs.sqlcipher }}
135+
name: ${{ inputs.deploy-mode && 'packages.element.io' || format('linux-sqlcipher-{0}', inputs.sqlcipher) }}
88136
path: dist
89137
retention-days: 1

.github/workflows/build_macos.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
required: false
2525
description: "Whether to sign & notarise the build, requires 'packages.element.io' environment"
2626
deploy-mode:
27-
type: string
27+
type: boolean
2828
required: false
2929
description: "Whether to arrange artifacts in the arrangement needed for deployment, skipping unrelated ones"
3030
base-url:
@@ -64,7 +64,7 @@ jobs:
6464

6565
# Does not need branch matching as only analyses this layer
6666
- name: Install Deps
67-
run: "yarn install --pure-lockfile"
67+
run: "yarn install --frozen-lockfile"
6868

6969
- name: Build Natives
7070
if: steps.cache.outputs.cache-hit != 'true'

.github/workflows/build_prepare.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
cache: "yarn"
5757

5858
- name: Install Deps
59-
run: "yarn install --pure-lockfile"
59+
run: "yarn install --frozen-lockfile"
6060

6161
- name: Fetch Element Web
6262
run: yarn run fetch --noverify -d ${{ inputs.config }} ${{ inputs.version }}
@@ -108,8 +108,9 @@ jobs:
108108
echo "element-desktop ($VERSION) default; urgency=medium" >> changelog.Debian
109109
echo "$BODY" | sed 's/^##/\n */g;s/^\*/ */g' | perl -pe 's/\[.+?]\((.+?)\)/\1/g' >> changelog.Debian
110110
echo "" >> changelog.Debian
111-
echo " -- ${{ github.actor }} <support@element.io> $TIME" >> changelog.Debian
111+
echo " -- $ACTOR <support@element.io> $TIME" >> changelog.Debian
112112
env:
113+
ACTOR: ${{ github.actor }}
113114
VERSION: v${{ steps.package.outputs.version }}
114115
BODY: ${{ steps.release.outputs.body }}
115116
PUBLISHED_AT: ${{ steps.release.outputs.published_at }}

.github/workflows/build_windows.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on:
2424
required: false
2525
description: "Whether to sign & notarise the build, requires 'packages.element.io' environment"
2626
deploy-mode:
27-
type: string
27+
type: boolean
2828
required: false
2929
description: "Whether to arrange artifacts in the arrangement needed for deployment, skipping unrelated ones"
3030
jobs:
@@ -107,7 +107,7 @@ jobs:
107107

108108
# Does not need branch matching as only analyses this layer
109109
- name: Install Deps
110-
run: "yarn install --pure-lockfile"
110+
run: "yarn install --frozen-lockfile"
111111

112112
- name: Build Natives
113113
if: steps.cache.outputs.cache-hit != 'true'

.github/workflows/codeql.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ "develop", master, staging ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ "develop" ]
9+
schedule:
10+
- cron: '19 9 * * 6'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
# We have a single C file for the rebrand_stub which we don't want/need to analyse
25+
# but it prevents us from using the built-in CodeQL scanner
26+
language: [ 'javascript' ]
27+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
28+
# Use only 'java' to analyze code written in Java, Kotlin or both
29+
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
30+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
31+
32+
steps:
33+
- name: Checkout repository
34+
uses: actions/checkout@v3
35+
36+
# Initializes the CodeQL tools for scanning.
37+
- name: Initialize CodeQL
38+
uses: github/codeql-action/init@v2
39+
with:
40+
languages: ${{ matrix.language }}
41+
# If you wish to specify custom queries, you can do so here or in a config file.
42+
# By default, queries listed here will override any specified in a config file.
43+
# Prefix the list here with "+" to use these queries and those in the config file.
44+
45+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
46+
# queries: security-extended,security-and-quality
47+
48+
- name: Perform CodeQL Analysis
49+
uses: github/codeql-action/analyze@v2
50+
with:
51+
category: "/language:${{matrix.language}}"

.github/workflows/dockerbuild.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Dockerbuild
2+
on:
3+
workflow_dispatch: {}
4+
push:
5+
branches: [master, develop]
6+
paths:
7+
- "dockerbuild/**"
8+
concurrency: ${{ github.workflow }}-${{ github.ref_name }}
9+
env:
10+
REGISTRY: ghcr.io
11+
IMAGE_NAME: ${{ github.repository }}-dockerbuild
12+
jobs:
13+
build:
14+
name: Docker Build
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
packages: write
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Log in to the Container registry
23+
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
24+
with:
25+
registry: ${{ env.REGISTRY }}
26+
username: ${{ github.actor }}
27+
password: ${{ secrets.GITHUB_TOKEN }}
28+
29+
- name: Extract metadata for Docker
30+
id: meta
31+
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
32+
with:
33+
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
34+
tags: |
35+
type=ref,event=branch
36+
37+
- name: Build and push Docker image
38+
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
39+
with:
40+
context: dockerbuild
41+
push: true
42+
tags: ${{ steps.meta.outputs.tags }}
43+
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/static_analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
# Does not need branch matching as only analyses this layer
1818
- name: Install Deps
19-
run: "yarn install --pure-lockfile"
19+
run: "yarn install --frozen-lockfile"
2020

2121
- name: Typecheck
2222
run: "yarn run lint:types"
@@ -37,7 +37,7 @@ jobs:
3737

3838
# Does not need branch matching as only analyses this layer
3939
- name: Install Deps
40-
run: "yarn install --pure-lockfile"
40+
run: "yarn install --frozen-lockfile"
4141

4242
- name: Run Linter
4343
run: "yarn run lint:js"

0 commit comments

Comments
 (0)