Compare commits
26 Commits
Author | SHA1 | Date | |
---|---|---|---|
483e9d577c | |||
812ea36541 | |||
d5f53386fb | |||
b75bd77fac | |||
963a7039ea | |||
7df2bdd0b3 | |||
202be63c7a | |||
d030d9cfda | |||
471ec62d02 | |||
512b07c72d | |||
843cb13e55 | |||
44e4103c22 | |||
92139571e8 | |||
6e929b2d16 | |||
6c75747f79 | |||
bbae3ba73e | |||
dd5c661cde | |||
85e041785f | |||
de070df02a | |||
e379eefa7b | |||
e1c134168e | |||
e2b02ef4a3 | |||
244bf3bc55 | |||
a53924d0b6 | |||
944b14db8c | |||
2772f9a939 |
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: Build Multiarch Container Image
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
call-reusable-workflow:
|
||||||
|
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
|
||||||
|
with:
|
||||||
|
repository: ${{ gitea.repository }}
|
||||||
|
ref_name: ${{ gitea.ref_name }}
|
||||||
|
sha: ${{ gitea.sha }}
|
||||||
|
registry_url: ${{ secrets.REGISTRY_URL }}
|
||||||
|
registry_user: ${{ secrets.REGISTRY_USER }}
|
||||||
|
registry_pw: ${{ secrets.REGISTRY_PW }}
|
@ -1,11 +0,0 @@
|
|||||||
pipeline:
|
|
||||||
publish-docker-image:
|
|
||||||
image: plugins/kaniko
|
|
||||||
settings:
|
|
||||||
repo: docker.io/thallian/matrix-synapse
|
|
||||||
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USER
|
|
||||||
password:
|
|
||||||
from_secret: DOCKER_PW
|
|
@ -1,21 +1,30 @@
|
|||||||
FROM docker.io/alpine:3.17 AS builder
|
FROM docker.io/alpine:3.21 AS builder
|
||||||
|
|
||||||
ENV VERSION=v1.80.0
|
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
alpine-sdk \
|
alpine-sdk \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
py3-wheel \
|
py3-wheel \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
jpeg-dev \
|
jpeg-dev \
|
||||||
rust
|
rust \
|
||||||
|
cargo \
|
||||||
|
poetry \
|
||||||
|
git
|
||||||
|
|
||||||
RUN pip3 install --target="/install" matrix-synapse==$VERSION
|
ENV VERSION=v1.127.1
|
||||||
|
RUN git clone https://github.com/element-hq/synapse.git
|
||||||
|
WORKDIR /synapse
|
||||||
|
RUN git checkout $VERSION
|
||||||
|
|
||||||
FROM docker.io/thallian/confd-env:3.17-3.1.3.0
|
RUN poetry export -o /synapse/requirements.txt
|
||||||
|
RUN pip3 install --target="/install" -r /synapse/requirements.txt
|
||||||
|
RUN pip3 install --target="/install" --no-deps --no-warn-script-location /synapse[all];
|
||||||
|
|
||||||
|
|
||||||
|
FROM docker.io/thallian/confd-env:3.21-3.2.0.2
|
||||||
|
|
||||||
RUN addgroup -g 2222 matrix-synapse
|
RUN addgroup -g 2222 matrix-synapse
|
||||||
RUN adduser -h /var/lib/matrix-synapse -u 2222 -D -G matrix-synapse matrix-synapse
|
RUN adduser -h /var/lib/matrix-synapse -u 2222 -D -G matrix-synapse matrix-synapse
|
||||||
@ -24,6 +33,7 @@ RUN apk add --no-cache \
|
|||||||
python3 \
|
python3 \
|
||||||
py3-psycopg2 \
|
py3-psycopg2 \
|
||||||
py3-authlib \
|
py3-authlib \
|
||||||
|
py3-asn1 \
|
||||||
libffi \
|
libffi \
|
||||||
openssl \
|
openssl \
|
||||||
zlib \
|
zlib \
|
@ -1141,7 +1141,7 @@ oembed:
|
|||||||
# Defaults to "https://www.recaptcha.net/recaptcha/api/siteverify".
|
# Defaults to "https://www.recaptcha.net/recaptcha/api/siteverify".
|
||||||
#
|
#
|
||||||
#recaptcha_siteverify_api: "https://my.recaptcha.site"
|
#recaptcha_siteverify_api: "https://my.recaptcha.site"
|
||||||
|
enable_authenticated_media: true
|
||||||
|
|
||||||
## TURN ##
|
## TURN ##
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user