Fix awscli upload
This commit is contained in:
+3
-3
@@ -96,10 +96,10 @@ upload() {
|
||||
__msg "Cache expires on ${EXPIRES}"
|
||||
|
||||
|
||||
if [[ -f ${target} ]]; then
|
||||
if [[ -f ${source} ]]; then
|
||||
# File
|
||||
local dirName=$(dirname ${target})
|
||||
local filename=$(basename ${target})
|
||||
local dirName=$(dirname ${source})
|
||||
local filename=$(basename ${source})
|
||||
docker run --rm \
|
||||
-u $(id -u):$(id -g) \
|
||||
--env AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
|
||||
|
||||
Reference in New Issue
Block a user