Skip to content

Commit a527bbf

Browse files
committed
wip: Update token auth
1 parent 076740c commit a527bbf

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Docker-nightly
3+
4+
on:
5+
push:
6+
tags:
7+
- "*"
8+
- "!v*"
9+
10+
jobs:
11+
docker:
12+
uses: famedly/github-workflows/.github/workflows/docker.yml@main
13+
with:
14+
push: ${{ github.event_name != 'pull_request' }} # Always build, don't publish on pull requests
15+
registry_user: famedly-ci
16+
registry: docker-nightly.nexus.famedly.de
17+
image_name: synapse
18+
file: docker/Dockerfile
19+
tags: |
20+
type=ref,event=tag
21+
secrets: inherit

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ RUN --mount=type=cache,target=/root/.cache/pip \
139139
RUN --mount=type=cache,target=/root/.cache/pip \
140140
pip install setuptools \
141141
&& pip install --prefix="/install" --no-warn-script-location \
142-
synapse-token-authenticator==0.8.1 \
142+
git+https://github.com/famedly/synapse-token-authenticator.git@mzaniolo/validate_external_id \
143143
matrix-synapse-ldap3 \
144144
synapse-s3-storage-provider \
145145
synapse-auto-accept-invite \

docker/Dockerfile-workers

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FROM docker.io/library/debian:bookworm-slim AS deps_base
2121
# which makes it much easier to copy (but we need to make sure we use an image
2222
# based on the same debian version as the synapse image, to make sure we get
2323
# the expected version of libc.
24-
FROM docker.io/library/redis:7-bookworm AS redis_base
24+
FROM redis:7.2-bookworm AS redis_base
2525

2626
# now build the final image, based on the the regular Synapse docker image
2727
FROM $FROM

0 commit comments

Comments
 (0)