Add Drone CI configuration, Dockerfile, and initialization script for Synapse

This commit is contained in:
gyurix
2025-08-31 11:22:18 +02:00
parent 360ec9b7a0
commit 2cdb2b9bf8
3 changed files with 262 additions and 0 deletions

55
.drone.yml Normal file
View File

@@ -0,0 +1,55 @@
kind: pipeline
type: kubernetes
name: default
node_selector:
physical-node: dev1
trigger:
event:
- push
- tag
workspace:
path: /drone/src
steps:
- name: pull image to dockerhub
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
settings:
cache-from: [ "safebox/matrix-setup" ]
repo: safebox/matrix-setup
tags: latest
username:
from_secret: dockerhub-username
password:
from_secret: dockerhub-password
platforms:
- linux/amd64
- linux/arm64
when:
event:
- tag
- name: build multiarch from dev
image: docker.io/owncloudci/drone-docker-buildx:4
privileged: true
#environment:
# DOCKER_PLUGIN_MIRROR: "https://mirror.dev.format.hu"
settings:
cache-from: [ "registry.dev.format.hu/matrix-setup" ]
registry: registry.dev.format.hu
repo: registry.dev.format.hu/matrix-setup
tags: latest
dockerfile: Dockerfile
username:
from_secret: dev-hu-registry-username
password:
from_secret: dev-hu-registry-password
platforms:
- linux/amd64
- linux/arm64
when:
event:
- push