fix: GCS driver TransferTo and integration tests

Found this while trying to test solutions for #617 (closed).

How to test:

$export REGISTRY_STORAGE_GCS_BUCKET=my-gcs-bucket
$export REGISTRY_STORAGE_GCS_TARGET_BUCKET=my-gcs-bucket
$export GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
$go test -timeout=30m -tags=include_gcs -v ./registry/storage/driver/gcs -args -check.vv -test.short
Edited by João Pereira

Merge request reports

Loading