Skip to content

Commit

Permalink
chore: upgrade default server image to v0.0.4 (#52)
Browse files Browse the repository at this point in the history
* chore: upgrade default server image to v0.0.4

Signed-off-by: Jian Zeng <[email protected]>

* chore: build server with go1.22.5

Signed-off-by: Jian Zeng <[email protected]>

---------

Signed-off-by: Jian Zeng <[email protected]>
  • Loading branch information
knight42 authored Jul 11, 2024
1 parent d410875 commit d4113b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ service, ip and hostname rather than only pods.`,
flags.BoolVarP(&printVersion, "version", "V", false, "Print version info and exit.")
flags.StringVar(&o.address, "address", "127.0.0.1", "Address to listen on. Only accepts IP addresses as a value.")
flags.StringVarP(&o.targetsFile, "file", "f", "", "Forward to the targets specified in the given file, with one target per line.")
flags.StringVar(&o.serverImage, "server.image", "ghcr.io/knight42/krelay-server:v0.0.3", "The krelay-server image to use.")
flags.StringVar(&o.serverImage, "server.image", "ghcr.io/knight42/krelay-server:v0.0.4", "The krelay-server image to use.")
flags.StringVar(&o.serverNamespace, "server.namespace", metav1.NamespaceDefault, "The namespace in which krelay-server is located.")
flags.IntVarP(&o.verbosity, "v", "v", 3, "Number for the log level verbosity. The bigger the more verbose.")
_ = c.Execute()
Expand Down
2 changes: 1 addition & 1 deletion manifests/Dockerfile-server
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.0 AS builder
FROM golang:1.22.5 AS builder
WORKDIR /workspace
ADD . .
RUN CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o krelay-server ./cmd/server
Expand Down

0 comments on commit d4113b7

Please sign in to comment.