Move to GitHub Docker registry

This commit is contained in:
Andrew-71 2024-06-02 01:35:01 +03:00
parent 410592e933
commit 00298df1cc
6 changed files with 7 additions and 19 deletions

View file

@ -1,6 +1,8 @@
# Changelog
This file keeps track of changes in more human-readable fashion
## v1.1.1
This release is mostly a technicality, with a move over to GitHub (`ghcr.io/andrew-71/hibiscus`) for packages due to DockerHub's anti-Russian actions making old "CI/CD" impossible.
## v1.1.0
* You can now specify the Telegram *topic* to send notification to via `tg_topic` config key (By Rithas K.!)
* The Telegram message is now partially translated

View file

@ -65,12 +65,10 @@ tg_topic=message_thread_id
```
### Docker deployment:
Due to project's simplicity ~~and me rarely using them~~ there are no image tags, I just use `latest` and push to it.
The [package](https://git.a71.su/Andrew71/hibiscus/packages) provided in this repository is for `linux/amd64` architecture,
and there is a [Dockerfile](./Dockerfile) in case you want to compile for something rarer (like a Pi).
The Docker images are hosted via GitHub over at `ghcr.io/andrew-71/hibiscus:<tag>`,
built from the [Dockerfile](./Dockerfile).
This repo contains the [compose.yml](./compose.yml) that I personally use.
**Note**: versioned images may be provided in the future, possibly via `ghcr.io`.
*Note: an outdated personally hosted [package](https://git.a71.su/Andrew71/hibiscus/packages) will be provided for some time.*
### Executable flags
If you for some reason decide to run plain executable instead of docker, it supports following flags:

View file

@ -3,12 +3,6 @@ List of things to add to this project
* Forward/backward buttons for days
## v1.0.0
* a logo so I can enable PWA (and look cool)
* Versioned containers via `ghcr.io`,
with automatic CI/CD build on release. NOT DockerHub due to their anti-Russian actions.
* ...QA? And polishing.
## Brainstorming
Don't expect any of this, these are ideas floating inside my head
* Further info page functionality

View file

@ -1,7 +1,7 @@
version: "3.8"
services:
hibiscus:
image: git.a71.su/andrew71/hibiscus:latest
image: ghcr.io/andrew-71/hibiscus:latest
container_name: hibiscus
restart: unless-stopped
ports:

View file

@ -15,7 +15,7 @@ type AppInfo struct {
// Info contains app information
var Info = AppInfo{
Version: "1.1.0",
Version: "1.1.1",
SourceLink: "https://git.a71.su/Andrew71/hibiscus",
}

View file

@ -1,6 +0,0 @@
#!/bin/bash
# Script for me to easily update docker package
# ...I really need CI/CD
docker build https://git.a71.su/Andrew71/hibiscus.git -t git.a71.su/andrew71/hibiscus:latest
docker login git.a71.su
docker push git.a71.su/andrew71/hibiscus:latest