mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-30 06:03:45 +01:00
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
|
||
|
}
|