Skip to content

Merge branch 'develop' of github.com:matrix-org/sytest into dendrite #917

Merge branch 'develop' of github.com:matrix-org/sytest into dendrite

Merge branch 'develop' of github.com:matrix-org/sytest into dendrite #917

Workflow file for this run

# GitHub actions workflow which builds and publishes the docker images.
name: Build and deploy Dendrite docker images
on:
push:
branches: ["dendrite"]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-dependent-images:
name: "Build sytest-${{ matrix.dockerfile }}:${{ matrix.sytest_image_tag }}"
runs-on: ubuntu-latest
strategy:
matrix:
include:
- sytest_image_tag: buster
dockerfile: dendrite
tags: "matrixdotorg/sytest-dendrite:latest"
build_args: "SYTEST_IMAGE_TAG=buster"
steps:
- name: Set up QEMU
id: QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Inspect builder
run: docker buildx inspect
- name: Log in to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
pull: true
push: true
platforms: linux/amd64,linux/arm64
labels: "gitsha1=${{ github.sha }}"
file: docker/${{ matrix.dockerfile }}.Dockerfile
build-args: ${{ matrix.build_args }}
tags: ${{ matrix.tags }}