diff --git a/Dockerfile b/Dockerfile index a8bc03b..a87af1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 75ba2e2..7dfcc65 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/config/types.go b/config/types.go index 716a2e0..69edceb 100644 --- a/config/types.go +++ b/config/types.go @@ -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 { diff --git a/go.mod b/go.mod index 8e9eb4f..c080df0 100644 --- a/go.mod +++ b/go.mod @@ -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