Skip to content

Commit

Permalink
Merge branch 'develop' into unraid_develop
Browse files Browse the repository at this point in the history
  • Loading branch information
realtyem committed Nov 29, 2022
2 parents 7b4d965 + 13aa29d commit 204fd1f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/push_complement_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ jobs:
steps:
- name: Checkout specific branch (debug build)
uses: actions/checkout@v3
if: 'github.event.type == "workflow_dispatch"'
if: github.event_name == 'workflow_dispatch'
with:
ref: ${{ inputs.branch }}
- name: Checkout clean copy of develop (scheduled build)
uses: actions/checkout@v3
if: 'github.event.type == "schedule"'
if: github.event_name == 'schedule'
with:
ref: develop
- name: Checkout clean copy of master (on-push)
uses: actions/checkout@v3
if: 'github.event.type == "push"'
if: github.event_name == 'push'
with:
ref: master
- name: Login to registry
Expand All @@ -55,14 +55,20 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Work out labels for complement image
id: meta
uses: docker/metadata-action@v1
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository }}/complement-synapse
- name: Build complement image
tags: |
type=schedule,pattern=nightly,enable=${{ github.event_name == 'schedule'}}
type=raw,value=develop,enable=${{ github.event_name == 'schedule' || inputs.branch == 'develop' }}
type=raw,value=latest,enable=${{ github.event_name == 'push' || inputs.branch == 'master' }}
type=sha,format=long
- name: Run scripts-dev/complement.sh to generate complement-synapse:latest image.
run: scripts-dev/complement.sh --build-only
- name: Tag and push generated image
run: |
for TAG in ${{ steps.meta.outputs.tags }}; do
docker tag complement-synapse:latest $TAG
for TAG in ${{ join(fromJson(steps.meta.outputs.json).tags, ' ') }}; do
echo "tag and push $TAG"
docker tag complement-synapse $TAG
docker push $TAG
done
File renamed without changes.
1 change: 1 addition & 0 deletions changelog.d/14573.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Push complement-synapse docker images to ghcr.io repository.
1 change: 1 addition & 0 deletions changelog.d/14576.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Advertise support for Matrix 1.5 on `/_matrix/client/versions`.
1 change: 1 addition & 0 deletions synapse/rest/client/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def on_GET(self, request: Request) -> Tuple[int, JsonDict]:
"v1.2",
"v1.3",
"v1.4",
"v1.5",
],
# as per MSC1497:
"unstable_features": {
Expand Down

0 comments on commit 204fd1f

Please sign in to comment.