Skip to content

Commit

Permalink
Upgrade dependencies and some base images (#377)
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz authored Aug 16, 2023
1 parent e279e9a commit 2d8f947
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 52 deletions.
77 changes: 38 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ license = "Apache-2.0"
edition = "2021"

[dependencies]
anyhow = "1.0.72"
anyhow = "1.0.74"
askama = "0.12.0"
askama_axum = "0.3.0"
async-channel = "1.9.0"
async-trait = "0.1.72"
async-trait = "0.1.73"
axum = { version = "0.6.20", features = ["macros"] }
clap = { version = "4.3.19", features = ["derive"] }
clap = { version = "4.3.21", features = ["derive"] }
config = "0.13.3"
deadpool-postgres = { version = "0.10.5", features = ["serde"] }
futures = "0.3.28"
Expand All @@ -23,18 +23,18 @@ humantime-serde = "1.1.1"
ignore = "0.4.20"
jsonwebtoken = "8.3.0"
lazy_static = "1.4.0"
octocrab = "0.29.1"
openssl = { version = "0.10.55", features = ["vendored"] }
octocrab = "0.29.3"
openssl = { version = "0.10.56", features = ["vendored"] }
postgres-openssl = "0.5.0"
regex = "1.9.1"
regex = "1.9.3"
reqwest = "0.11.18"
serde = { version = "1.0.181", features = ["derive"] }
serde_json = "1.0.104"
serde = { version = "1.0.183", features = ["derive"] }
serde_json = "1.0.105"
serde_yaml = "0.9.25"
sha2 = "0.10.7"
thiserror = "1.0.44"
thiserror = "1.0.46"
time = { version = "0.3.25", features = ["serde"] }
tokio = { version = "1.29.1", features = [
tokio = { version = "1.31.0", features = [
"macros",
"rt-multi-thread",
"signal",
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ WORKDIR /gitvote/src
RUN cargo build --release

# Final stage
FROM alpine:3.18.2
FROM alpine:3.18.3
RUN apk --no-cache add ca-certificates && addgroup -S gitvote && adduser -S gitvote -G gitvote
USER gitvote
WORKDIR /home/gitvote
Expand Down
4 changes: 2 additions & 2 deletions database/migrations/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Build tern
FROM golang:1.20.7-alpine3.18 AS tern
FROM golang:1.21.0-alpine3.18 AS tern
RUN apk --no-cache add git
RUN go install github.com/jackc/tern@latest

# Build final image
FROM alpine:3.18.2
FROM alpine:3.18.3
RUN addgroup -S gitvote && adduser -S gitvote -G gitvote
USER gitvote
WORKDIR /home/gitvote
Expand Down

0 comments on commit 2d8f947

Please sign in to comment.