Skip to content

Commit 6af99c8

Browse files
Merge pull request #49 from matrix-org/workflow-triggers
CI/docker: Allow buliding images from branches and fix the `Dockerfile`
2 parents b64edee + 80a6d34 commit 6af99c8

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Build
33
on:
44
pull_request: {}
55
push:
6-
branches: [main]
6+
branches:
7+
- "**"
78
jobs:
89
build:
910
name: Build

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and publish Docker image
33
on:
44
push:
55
branches:
6-
- "main"
6+
- "**"
77

88
env:
99
REGISTRY: ghcr.io

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ FROM ubuntu:22.04
2626
RUN apt update \
2727
&& apt install -y --no-install-recommends \
2828
dumb-init \
29+
ca-certificates \
2930
&& rm -rf /var/lib/apt/lists/*
3031

3132
WORKDIR /

docker-compose.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ version: "3.3"
22
services:
33
waterfall:
44
container_name: waterfall
5-
image: ghcr.io/matrix-org/waterfall:main
5+
# Use a proper commit hash for specific deployments.
6+
image: ghcr.io/matrix-org/waterfall:sha-b64edee
67
network_mode: host
78
restart: always
89
environment:
10+
# Set the `CONFIG` to the configuration you want.
911
CONFIG: |
1012
homeserverurl: "http://localhost:8008"
1113
userid: "@sfu:shadowfax"

0 commit comments

Comments
 (0)