push to 0.6.0

This commit is contained in:
Sebastian Hugentobler 2023-07-31 12:06:19 +02:00
parent b4a41352e1
commit 55b4463d78
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
FROM docker.io/golang:1.19.3-alpine3.17 as builder
FROM docker.io/golang:1.20-alpine3.18 as builder
ENV VERSION=v0.2.0
ENV VERSION=v0.6.0
RUN apk --no-cache add \
git \
@ -18,7 +18,7 @@ RUN git checkout $VERSION
RUN go build -o /build/bin/mautrix-discord
FROM docker.io/thallian/confd-env:3.17-3.1.3.0
FROM docker.io/thallian/confd-env:3.18-3.1.5.0
RUN addgroup -g 2222 matrix-bridge
RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge

View File

@ -83,7 +83,7 @@ bridge:
# .Discriminator - The 4 numbers after the name on Discord
# .Bot - Whether the user is a bot
# .System - Whether the user is an official system user
displayname_template: '{{"{{"}}.Username{{"}}"}}#{{"{{"}}.Discriminator{{"}}"}}{{"{{"}}if .Bot{{"}}"}} (bot){{"{{"}}end{{"}}"}}'
displayname_template: '{{"{{"}}or .GlobalName .Username{{"}}"}}{{"{{"}}if .Bot{{"}}"}} (bot){{"{{"}}end{{"}}"}}'
# Displayname template for Discord channels (bridged as rooms, or spaces when type=4).
# Available variables:
# .Name - Channel name, or user displayname (pre-formatted with displayname_template) in DMs.