chore: bump dependencies
This commit is contained in:
parent
d6a4b3cc6c
commit
c59a3d23d6
4 changed files with 12 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.21-alpine3.18 AS builder
|
||||
FROM golang:1.21-alpine3.19 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -7,7 +7,7 @@ COPY . .
|
|||
RUN go build -o /go/bin/immich-exporter ./src
|
||||
|
||||
|
||||
FROM alpine:3.18
|
||||
FROM alpine:3.19
|
||||
|
||||
COPY --from=builder /go/bin/immich-exporter /go/bin/immich-exporter
|
||||
|
||||
|
|
|
@ -1,14 +1,20 @@
|
|||
build:
|
||||
go build -o ./qbittorrent-exporter.out ./src
|
||||
|
||||
dev :
|
||||
go run ./src
|
||||
|
||||
dev-env :
|
||||
go run ./src -e
|
||||
|
||||
format :
|
||||
go fmt ./src
|
||||
|
||||
lint:
|
||||
docker run --rm -v ./:/app -w /app golangci/golangci-lint:latest golangci-lint run -v
|
||||
|
||||
test:
|
||||
go test -v ./src/tests
|
||||
|
||||
update:
|
||||
go get -u ./src && go mod tidy
|
2
go.mod
2
go.mod
|
@ -4,7 +4,7 @@ go 1.21
|
|||
|
||||
require (
|
||||
github.com/joho/godotenv v1.5.1
|
||||
github.com/prometheus/client_golang v1.17.0
|
||||
github.com/prometheus/client_golang v1.18.0
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
)
|
||||
|
||||
|
|
4
go.sum
4
go.sum
|
@ -13,8 +13,8 @@ github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvls
|
|||
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k=
|
||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
|
||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
|
||||
github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q=
|
||||
github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY=
|
||||
github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk=
|
||||
github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA=
|
||||
github.com/prometheus/client_model v0.5.0 h1:VQw1hfvPvk3Uv6Qf29VrPF32JB6rtbgI6cYPYQjL0Qw=
|
||||
github.com/prometheus/client_model v0.5.0/go.mod h1:dTiFglRmd66nLR9Pv9f0mZi7B7fk5Pm3gvsjB5tr+kI=
|
||||
github.com/prometheus/common v0.45.0 h1:2BGz0eBc2hdMDLnO/8n0jeB3oPrt2D08CekT0lneoxM=
|
||||
|
|
Loading…
Reference in a new issue