Switch to ghcr.io image for Synapse (#12869)

Due to dockerhub rate-limiting

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-08-06 18:02:50 +01:00 committed by GitHub
parent 6ca4f670bf
commit 1be4c12fd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -9,14 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Update matrixdotorg/synapse image
- name: Update synapse image
run: |
docker pull "$IMAGE"
INSPECT=$(docker inspect --format='{{index .RepoDigests 0}}' "$IMAGE")
DIGEST=${INSPECT#*@}
sed -i "s/const DOCKER_TAG.*/const DOCKER_TAG = \"develop@$DIGEST\";/" playwright/plugins/homeserver/synapse/index.ts
env:
IMAGE: matrixdotorg/synapse:develop
IMAGE: ghcr.io/element-hq/synapse:develop
- name: Create Pull Request
id: cpr