mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +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
|
|
} |