Skip to content

Commit

Permalink
Merge pull request #2 from etkecc/add-ci
Browse files Browse the repository at this point in the history
update CI and readme
  • Loading branch information
aine-etke authored Aug 31, 2024
2 parents 2bb8467 + 49d67f9 commit 94ccd3a
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 165 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
liberapay: etkecc
20 changes: 0 additions & 20 deletions .github/dependabot.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/build-test.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/docker-release.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/edge_ghpage.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/github-release.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name:
on:
push:
branches: [ "main" ]
env:
upstream_version: v0.10.3
etke_version: etke1
permissions:
checks: write
contents: write
packages: write
pull-requests: read
jobs:
build-publish:
name: Build and Publish
runs-on: self-hosted
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
registry.etke.cc/${{ github.repository }}
tags: |
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
type=raw,value=${{ env.upstream_version }}-${{ env.etke_version }},enable=${{ github.ref_name == 'main' }}
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@

This project is built using [react-admin](https://marmelab.com/react-admin/).

## Fork differences

With [Awesome-Technologies/synapse-admin](https://github.com/Awesome-Technologies/synapse-admin) as the upstream, this
fork is intended to be a more feature-rich version of the original project. The main goal is to provide a more
user-friendly interface for managing Synapse homeservers.

The following changes are already implemented:

* [Prevent admins from deleting themselves](https://github.com/etkecc/synapse-admin/pull/1)

_the list will be updated as new changes are added_

## Usage

### Supported Synapse
Expand Down

0 comments on commit 94ccd3a

Please sign in to comment.