Skip to content

Commit

Permalink
Update workflows to new synapse ownership and update references
Browse files Browse the repository at this point in the history
  • Loading branch information
dotWee committed Jan 29, 2024
1 parent 8c21852 commit d6c1684
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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

Expand Down

0 comments on commit d6c1684

Please sign in to comment.