Compare commits

..

3 commits

Author SHA1 Message Date
8548acf79c
deps: bump golang to 1.25.2
Some checks failed
Build and Push to Docker Hub on push to any branch / docker (push) Has been cancelled
2025-10-14 01:08:38 +02:00
b55e60bcc7
fix: Fix config parsing
Some checks are pending
Build and Push to Docker Hub on push to any branch / docker (push) Waiting to run
2025-10-13 20:58:46 +02:00
1b93bab69f
docs: fix typo 2025-10-13 18:01:55 +02:00
4 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.24.6-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.25.2-alpine AS builder
WORKDIR /steamsalty
@ -14,6 +14,9 @@ RUN GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o ./steamsalty
FROM scratch
LABEL org.opencontainers.image.source=https://github.com/watn3y/steamsalty
LABEL org.opencontainers.image.description="SteamSalty"
LABEL org.opencontainers.image.licenses=GPL-3.0
WORKDIR /app
COPY --from=builder /etc/ssl/certs /etc/ssl/certs

View file

@ -1,6 +1,6 @@
# SteamSalty
SteamSalty notifies you on telegram about new comments on any steam profile **with build in auto translation**.
SteamSalty notifies you on telegram about new comments on any steam profile **with built in auto translation**.
## Running with Docker Compose

View file

@ -3,8 +3,8 @@ package config
type config struct {
LogLevel int `env:"STEAMSALTY_LOGLEVEL, default=1"`
ChatID int64 `env:"STEAMSALTY_CHATID, required`
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required`
ChatID int64 `env:"STEAMSALTY_CHATID, required"`
Watchers []uint64 `env:"STEAMSALTY_WATCHERS, required"`
SleepInterval int `env:"STEAMSALTY_SLEEPINTERVAL, default=60"`
Translate struct {
@ -17,7 +17,7 @@ type config struct {
}
Steam struct {
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required`
APIKey string `env:"STEAMSALTY_STEAMAPIKEY, required"`
}
DeepL struct {

2
go.mod
View file

@ -1,6 +1,6 @@
module watn3y/steamsalty
go 1.24.6
go 1.25.2
require (
github.com/Philipp15b/go-steamapi v0.0.0-20210114153316-ec4fdd23b4c1