Compare commits

..

24 commits
v1.0.0 ... main

Author SHA1 Message Date
63199041b9 Remove unused copy
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 1m46s
2024-01-28 13:48:55 +01:00
0d99fe513f Update matrix well-known files
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 28s
2024-01-28 13:23:53 +01:00
52196c54ca Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 2m47s
2024-01-21 18:32:44 +01:00
9f543ee745 Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 13s
2024-01-21 18:25:36 +01:00
21786e76af Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 1m49s
2024-01-21 18:02:32 +01:00
c44340db95 Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 1m42s
2024-01-21 17:59:36 +01:00
06baf838b3 Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 18s
2024-01-21 17:58:06 +01:00
2db778b808 Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 18s
2024-01-21 17:57:20 +01:00
5bd62bfd6b Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 1m46s
2024-01-21 17:52:20 +01:00
7df4ad1f59 Use default template
Some checks failed
Publish Docker image / Push Docker image to Docker registry (push) Failing after 34s
2024-01-21 17:51:13 +01:00
cc46852c88 Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 8s
2024-01-21 17:18:50 +01:00
0972e93d93 Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2024-01-21 17:14:35 +01:00
88a724d269 Add cache
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 9s
2024-01-21 17:06:06 +01:00
2b0475450c Specify container image
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Has been cancelled
2024-01-21 17:04:08 +01:00
173815310a [TEST] Add up.depeuter.dev
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 56s
2024-01-21 16:57:46 +01:00
c2b4aaf0a2 Add var/www/.well-known/matrix/client
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2023-10-16 21:50:23 +02:00
f91fd0f324 Update nginx.conf
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2023-10-16 21:34:26 +02:00
d694c590e2 Add nginx.conf
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2023-10-16 21:24:46 +02:00
9201c0d107 Update Dockerfile
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2023-10-16 21:24:13 +02:00
3b3ac535da Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2023-10-16 20:23:49 +02:00
a62a41249b Update .gitea/workflows/release.yaml
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 10s
2023-10-16 20:21:46 +02:00
de927fdb56 Update .gitea/workflows/release.yaml
Some checks reported warnings
Publish Docker image / Push Docker image to Docker Hub (push) Has been cancelled
2023-10-16 20:19:21 +02:00
e9fa8472c2 Add .keep 2023-10-16 20:18:59 +02:00
61713b10b1 Add .gitea/workflows/release.yaml 2023-10-16 20:17:12 +02:00
5 changed files with 75 additions and 4 deletions

View file

@ -0,0 +1,39 @@
name: Publish Docker image
on:
push:
branches:
- 'main'
jobs:
push_to_registry:
name: Push Docker image to Docker registry
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
env:
RUNNER_TOOL_CACHE: /toolcache
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker registry
uses: docker/login-action@v2
with:
registry: git.depeuter.dev
username: ${{ gitea.actor }}
password: ${{ secrets.APP_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
push: true
tags: latest

0
.keep Normal file
View file

View file

@ -1,3 +1,4 @@
FROM nginx:latest
COPY /var/www/.well-known /usr/share/nginx/html/.well-known
# Replace the default NGINX configuration file with your custom configuration
COPY nginx.conf /etc/nginx/nginx.conf

34
nginx.conf Normal file
View file

@ -0,0 +1,34 @@
user nginx;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
listen 0.0.0.0:12345;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
location /.well-known/matrix/server {
access_log off;
add_header Access-Control-Allow-Origin *;
default_type application/json;
return 200 '{"m.server": "matrix.depeuter.dev:443"}';
}
location /.well-known/matrix/client {
access_log off;
add_header Access-Control-Allow-Origin *;
default_type application/json;
return 200 '{"m.homeserver": {"base_url": "https://matrix.depeuter.dev"}}';
}
}
}

View file

@ -1,3 +0,0 @@
{
"m.server": "matrix.depeuter.dev:443"
}