From d6c1684c5d725c883feeb9a917d961eb9e2483c7 Mon Sep 17 00:00:00 2001 From: Lukas Wolfsteiner Date: Mon, 29 Jan 2024 02:54:48 +0100 Subject: [PATCH] Update workflows to new synapse ownership and update references --- .github/workflows/cron.yml | 2 +- Dockerfile | 2 +- README.md | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index ad29ef8..1ad290f 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -18,7 +18,7 @@ jobs: - name: Install depepndencies run: sudo apt-get install -y curl jq - name: Request current GitHub Synapse Package version - run: echo 'SYNAPSE_VERSION='$(curl -SsL https://api.github.com/repos/matrix-org/synapse/releases | jq -r '.[].tag_name' | head -n 1) >> $GITHUB_ENV + run: echo 'SYNAPSE_VERSION='$(curl -SsL https://api.github.com/repos/element-hq/synapse/releases | jq -r '.[].tag_name' | head -n 1) >> $GITHUB_ENV - name: Request current Docker Hub Package version run: echo 'DOCKER_VERSION='$(curl -sSL https://registry.hub.docker.com/v2/repositories/dotwee/matrix-synapse-s3/tags | jq -r '."results"[]["name"] | select(.=="'${{ env.SYNAPSE_VERSION }}'")') >> $GITHUB_ENV diff --git a/Dockerfile b/Dockerfile index 60ae92f..397f491 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # Pass custom synapse version using build args: # docker build --build-arg "SYNAPSE_VERSION=v1.34.0" --build-arg "SYNAPSE_S3_STORAGE_PROVIDER_COMMIT=main" --tag matrix-synapse-s3 . ARG SYNAPSE_VERSION=latest -FROM matrixdotorg/synapse:${SYNAPSE_VERSION} +FROM ghcr.io/element-hq/synapse:${SYNAPSE_VERSION} ARG SYNAPSE_S3_STORAGE_PROVIDER_COMMIT=main RUN pip3 install https://github.com/matrix-org/synapse-s3-storage-provider/archive/${SYNAPSE_S3_STORAGE_PROVIDER_COMMIT}.tar.gz diff --git a/README.md b/README.md index 126bb10..cbb6929 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ ![github open issues](https://badgen.net/github/open-issues/dotwee/docker-matrix-synapse-s3?icon=github) ![docker pulls](https://badgen.net/docker/pulls/dotwee/matrix-synapse-s3?icon=docker&label=pulls) -Custom [matrix-synapse](https://github.com/matrix-org/synapse) docker image with [synapse-s3-storage-provider](https://github.com/matrix-org/synapse-s3-storage-provider) preinstalled. +Custom [matrix-synapse](https://github.com/element-hq/synapse) docker image with [synapse-s3-storage-provider](https://github.com/element-hq/synapse-s3-storage-provider) preinstalled. -## pull +## pull it ### from [**docker hub**](https://hub.docker.com/r/dotwee/matrix-synapse-s3) @@ -27,11 +27,11 @@ $ docker pull ghcr.io/dotwee/matrix-synapse-s3:latest - `linux/arm64` - `linux/amd64` -## use +## use it -use just like the [_official docker image_](https://hub.docker.com/r/matrixdotorg/synapse) provided by matrix.org. +use just like the [_official docker image_](https://github.com/element-hq/synapse/pkgs/container/synapse) provided by ~~matrix.org~~ Element. ->details in the [_official documentation_](https://matrix-org.github.io/synapse/latest/setup/installation.html#docker-images-and-ansible-playbooks). +> details in the [_official documentation_](https://element-hq.github.io/synapse/latest/setup/installation.html#docker-images-and-ansible-playbooks). ## license