This repo is a fork from https://github.com/cirruslabs/google-storage-proxy
The original repo is not really maintained so we decided to make changes to the code in our fork and push them to our image repository.
-
First, create a branch with updated changes.
-
run
docker loginin your terminal -
Check the Artifact repository to make sure you don't build/push with a tag name that already exits.
-
docker buildx build --platform linux/amd64 -t zencargo/google-storage-proxy:tagname . -
Test deploying image locally using docker-desktop.
-
If you're happy with the changes you can push to Artifact Registry.
$ docker tag zencargo/google-storage-proxy:tagname \
europe-west4-docker.pkg.dev/prj-zen-c-artifact-reg-5bhv/google-storage-proxy/google-storage-proxy:tagname
$ docker push europe-west4-docker.pkg.dev/prj-zen-c-artifact-reg-5bhv/google-storage-proxy/google-storage-proxy:tagnameHTTP proxy with REST API to interact with Google Cloud Storage Buckets
Simply allows using HEAD, GET or PUT requests to check blob's availability, as well as downloading or uploading
blobs to a specified GCS bucket.
Prebuilt Docker image is available in Artifact Repository:
docker pull europe-west4-docker.pkg.dev/prj-zen-c-artifact-reg-5bhv/google-storage-proxy/google-storage-proxy:v3port- optional port to run the proxy on. By default,8080is used.bucket- GCS bucket name to store artifacts in. You can configure Lifecycle Management for this bucket separately usinggcloudor UI.prefix- optional prefix for all objects. For example, use--prefix=foo/to work underfoodirectory inbucket.