GoogleCloudPlatform / cloud-run-proxy

Local proxy for authenticating requests to Cloud Run
Apache License 2.0
127 stars 20 forks source link

go install @latest does not install latest #14

Closed nielm closed 2 years ago

nielm commented 2 years ago

running

go install github.com/GoogleCloudPlatform/cloud-run-proxy@latest

Does not install the latest source code - it does not include the -server-up-time arg added in 6c0fc2d5f4998bf8f38ee44a1321b787887fe9ec

Please can you add a new release tag to fix this.

$ go install github.com/GoogleCloudPlatform/cloud-run-proxy@latest
go: downloading github.com/GoogleCloudPlatform/cloud-run-proxy v0.2.0
...
$ go/bin/cloud-run-proxy -help
Usage of go/bin/cloud-run-proxy:
  -audience string
        override JWT audience value (aud)
  -bind string
        local host:port on which to listen (default "127.0.0.1:8080")
  -host string
        Cloud Run host for which to proxy
  -prepend-user-agent
        prepend a custom User-Agent header to requests (default true)
  -token string
        override OIDC token
nielm commented 2 years ago

Workaround -- install a specific version ( no longer required )

$ go install github.com/GoogleCloudPlatform/cloud-run-proxy@5debf9de21b5f33c1a0d7d2a0a0ff224ec95e88a
nielm commented 2 years ago

Great, thanks!