mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-10 04:58:08 +02: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
|
|
} |