diff --git a/Dockerfile b/Dockerfile index 63590d3..d213c4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.5-alpine3.19 AS builder +FROM golang:1.23.1-alpine3.19 AS builder COPY . /workspace WORKDIR /workspace ENV CGO_ENABLED=0 diff --git a/go.mod b/go.mod index a755c89..7255706 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/protomaps/go-pmtiles -go 1.22.5 +go 1.23.1 require ( cloud.google.com/go/storage v1.43.0 diff --git a/main.go b/main.go index 9e85b75..bff9e06 100644 --- a/main.go +++ b/main.go @@ -99,7 +99,7 @@ var cli struct { DownloadThreads int `default:"4" help:"Number of download threads."` DryRun bool `help:"Calculate new parts to download, but don't download them."` Overfetch float32 `default:"0.05" help:"What ratio of extra data to download to minimize # requests; 0.2 is 20%"` - } `cmd:"" help:"Upload a local archive to remote storage."` + } `cmd:"" help:"Download a local archive to remote storage." hidden:""` Upload struct { Input string `arg:"" type:"existingfile"`