Add a test to ensure that the irc client state doesn't bloat on VERSION #698
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |