This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
name: CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
paths:
|
||||||
|
- 'synapse/*'
|
||||||
|
- '.gitea/workflows/build-synapse.yaml'
|
||||||
|
jobs:
|
||||||
|
"Build synapse docker images":
|
||||||
|
runs-on: woryzen
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Login to Gitea container registry
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: gitea.woggioni.net
|
||||||
|
username: woggioni
|
||||||
|
password: ${{ secrets.PUBLISHER_TOKEN }}
|
||||||
|
-
|
||||||
|
name: Build and push synapse images
|
||||||
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
|
builder: multiplatform-builder
|
||||||
|
context: "{{defaultContext}}:synapse"
|
||||||
|
build-args: |
|
||||||
|
VERSION=1.153.0
|
||||||
|
platforms: |
|
||||||
|
linux/amd64
|
||||||
|
push: true
|
||||||
|
pull: true
|
||||||
|
tags: |
|
||||||
|
"gitea.woggioni.net/woggioni/synapse:latest"
|
||||||
|
"gitea.woggioni.net/woggioni/synapse:1.153.0"
|
||||||
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
ARG VERSION
|
||||||
|
FROM matrixdotorg/synapse:v${VERSION}
|
||||||
|
USER root
|
||||||
|
RUN python -m pip install synapse-s3-storage-provider
|
||||||
|
USER 1000
|
||||||
Reference in New Issue
Block a user