Compare commits

...

2 commits

Author SHA1 Message Date
a1cc5e3ea0 👷 Add CI workflow for building container image
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 13s
2024-06-12 21:41:20 +02:00
8dbff2179e 📝 add README 2024-06-12 21:40:52 +02:00
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,38 @@
name: ci
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Docker for QEMU
uses: https://github.com/papodaca/install-docker-action@main
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: code.f2n.me
username: ${{ secrets.MY_GITEA_USERNAME }}
password: ${{ secrets.MY_GITEA_TOKEN }}
- name: Build and push to local registry
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: code.f2n.me/finn/matrix-bot-praying-times:latest
- name: Inspect
run: |
docker buildx imagetools inspect code.f2n.me/finn/matrix-bot-praying-times:latest

13
README.md Normal file
View file

@ -0,0 +1,13 @@
# Matrix Bot for Praying Times
Super early pre-alpha Proof-of-Concept pre-MVP Matrix Bot which soon should be able to remind you when it's time for praying.
## Usage
Use container image or run this after cloning:
```
. bin/active
python -m matrix_bot_praying_times
```