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:
parent
6ca4f670bf
commit
1be4c12fd2
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue