Skip to content

Performance improvements for pooling stream reader #689

Performance improvements for pooling stream reader

Performance improvements for pooling stream reader #689

# Based on https://github.com/matrix-org/dendrite/blob/master/.github/workflows/docker-hub.yml
name: "Docker Hub - Latest"
on:
push:
branches: ["develop", "release-*"]
pull_request:
env:
DOCKER_NAMESPACE: matrixdotorg
PLATFORMS: linux/amd64
# Only push if this is develop, otherwise we just want to build
PUSH: ${{ github.ref == 'refs/heads/develop' }}
jobs:
docker-latest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
if: ${{ env.PUSH }}
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
platforms: ${{ env.PLATFORMS }}
push: ${{ env.PUSH }}
tags: |
${{ env.DOCKER_NAMESPACE }}/matrix-appservice-irc:latest