Closed WLun001 closed 4 years ago
It's intentionally undocumented because it's not designed to be run locally. However, you can get an oauth2 access token (gcloud auth print-access-token
) and set the GCRCLEANER_TOKEN
environment variable.
GCRCLEANER_TOKEN="$(gcloud auth print-access-token)" go run .
Note this is not a supported way to run GCR cleaner.
Hi @sethvargo , it still hit the same error, after i does the steps above
How to run it locally?
I tried
go run .
and on postmanI tried and it return me this error