mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-15 23:05:57 +01:00
12f4f73c8a
Signed-off-by: danfengliu <danfengl@vmware.com>
9 lines
134 B
Bash
9 lines
134 B
Bash
#!/bin/bash
|
|
set -x
|
|
|
|
set -e
|
|
|
|
function uploader {
|
|
gsutil cp $1 gs://$2/$1
|
|
gsutil -D setacl public-read gs://$2/$1 &> /dev/null
|
|
} |